Fix bug in avr32 uClibc patch
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 28 Aug 2007 23:05:10 +0000 (23:05 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 28 Aug 2007 23:05:10 +0000 (23:05 -0000)
target/device/Atmel/toolchain/avr32/uClibc-0.9.28.3-avr32-2.0/uClibc-0.9.28.3-avr32-2.0-002-rm-whitespace.patch

index 6004f91e321f7eb80e725b5da6b2a7464cd0d23f..2ae02658800a665cfbc069dbdc4b74d89294f12e 100644 (file)
@@ -54,15 +54,6 @@ diff -urN uClibc-0.9.29-0rig/include/features.h uClibc-0.9.29/include/features.h
     ... code requiring gcc 2.8 or later ...
     #endif
     Note - they won't work for gcc1 or glibc1, since the _MINOR macros
-@@ -297,7 +297,7 @@
- /* uClibc does not support _FORTIFY_SOURCE */
- #undef _FORTIFY_SOURCE
- #if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0 \
--    && __GNUC_PREREQ (4, 1) && defined __OPTIMIZE__ && __OPTIMIZE__ > 0
-+    && __GNUC_PREREQ(4, 1) && defined __OPTIMIZE__ && __OPTIMIZE__ > 0
- # if _FORTIFY_SOURCE > 1
- #  define __USE_FORTIFY_LEVEL 2
- # else
 @@ -366,7 +366,7 @@
  #endif        /* !ASSEMBLER */