1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 05:12:29 +02:00
openwrt-xburst/toolchain/gcc/patches/4.2.3/902-avr32_fix_pic_redefinition_warning.patch
kaloz 3a8b8febd9 add GCC 4.2.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:18:40 +00:00

17 lines
577 B
Diff

Index: gcc/gcc/config/avr32/linux-elf.h
===================================================================
--- gcc/gcc/config/avr32/linux-elf.h (revision 31583)
+++ gcc/gcc/config/avr32/linux-elf.h (working copy)
@@ -122,11 +122,6 @@
builtin_define ("__AVR32_HAS_BRANCH_PRED__"); \
if (TARGET_FAST_FLOAT) \
builtin_define ("__AVR32_FAST_FLOAT__"); \
- if (flag_pic) \
- { \
- builtin_define ("__PIC__"); \
- builtin_define ("__pic__"); \
- } \
} \
while (0)