diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-23 10:04:14 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-23 10:04:14 +0000 |
commit | e50291290b0b2a2fa3698d35750546b80a5c9fea (patch) | |
tree | aa18f368585af119a6dc62e9a833da2db8e1ff0b | |
parent | af489dd9e2983777fa051c7931a8d2770af0461c (diff) | |
download | poky-e50291290b0b2a2fa3698d35750546b80a5c9fea.tar.gz |
bitbake.conf/poky-external.inc: Clean up CFLAGS handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3211 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/conf/bitbake.conf | 4 | ||||
-rw-r--r-- | meta/conf/distro/include/poky-external.inc | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 31e3e2979b..342c174e71 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -343,9 +343,7 @@ export TARGET_CPPFLAGS = "" | |||
343 | 343 | ||
344 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" | 344 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" |
345 | export CFLAGS = "${TARGET_CFLAGS}" | 345 | export CFLAGS = "${TARGET_CFLAGS}" |
346 | # Double spaces in CFLAGS upsets gdb... | 346 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" |
347 | #export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | ||
348 | export TARGET_CFLAGS = "${SELECTED_OPTIMIZATION}" | ||
349 | 347 | ||
350 | export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive" | 348 | export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive" |
351 | export CXXFLAGS = "${TARGET_CXXFLAGS}" | 349 | export CXXFLAGS = "${TARGET_CXXFLAGS}" |
diff --git a/meta/conf/distro/include/poky-external.inc b/meta/conf/distro/include/poky-external.inc index 50b250bcee..bda1134182 100644 --- a/meta/conf/distro/include/poky-external.inc +++ b/meta/conf/distro/include/poky-external.inc | |||
@@ -25,6 +25,5 @@ PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-poky-toolchain" | |||
25 | 25 | ||
26 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " | 26 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " |
27 | TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib " | 27 | TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib " |
28 | TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | ||
29 | 28 | ||
30 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" | 29 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" |