uclibc.inc: Fix issue with building ld-uClibc-0.9.29.so (from uclibc-0.9.29).
authorGeoffrey Wossum <gwossum@acm.org>
Fri, 14 Mar 2008 08:21:07 +0000 (08:21 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 14 Mar 2008 08:21:07 +0000 (08:21 +0000)
This keeps OE from overriding the compilation flags uClibc would naturally
want to use.  This allows OE to build a working ld-uClibc.so for the AVR32.
Not sure why this was overriding the compilation flags, or what ripple
effects taking out the override has on other platforms.

packages/uclibc/uclibc.inc

index 5965c0b..3c8a90c 100644 (file)
@@ -70,7 +70,7 @@ UCLIBC_STAGE_PREFIX = "${STAGING_DIR_HOST}${layout_prefix}"
 
 # do_stage barfs on a CC with whitepspace, therefore put the 'HOST_CC_ARCH' in
 # the CFLAGS (for when building the utils).
-OEMAKE_NO_CC = "'OPTIMIZATION=' 'CPU_CFLAGS=${CFLAGS}' 'STRIPTOOL=true' 'LD=${LD}' \
+OEMAKE_NO_CC = "'STRIPTOOL=true' 'LD=${LD}' \
                'LOCALE_DATA_FILENAME=${UCLIBC_LOCALE_FILE}'"
 EXTRA_OEMAKE = "${OEMAKE_NO_CC} 'CC=${CC}'"
 EXTRA_OEMAKE_task_do_populate_staging = "${OEMAKE_NO_CC}"