summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-02 16:47:56 +0000
committerPhil Blundell <philb@gnu.org>2004-08-02 16:47:56 +0000
commit15923d1915961199290a8b72b9b76466ad0a7ef0 (patch)
tree836acbf2e9119abd303b7ad5ee192758e7f4a902 /conf
parentdc978ab5680b47ebed0257ff2e49414bd5c4b0ec (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into stealth.(none):/home/pb/oe/oe-packages 2004/08/02 17:47:45+01:00 (none)!pb use different CFLAGS for build machine to avoid depending on new gcc BKrev: 410e703c6q8URPBgQEeZkxGz2wmvBg
Diffstat (limited to 'conf')
-rw-r--r--conf/oe.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/oe.conf b/conf/oe.conf
index 115a5fd3f9..daee332520 100644
--- a/conf/oe.conf
+++ b/conf/oe.conf
@@ -276,6 +276,7 @@ ALLOWED_FLAGS = "-O -mcpu -march -pipe"
FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
DEBUG_OPTIMIZATION = "-O -g"
SELECTED_OPTIMIZATION := "${@oe.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][oe.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}"
+BUILD_OPTIMIZATION = "-O2"
# XXX unused?
OPTIMIZATION = "-O2"
@@ -284,7 +285,7 @@ export BUILD_CPPFLAGS = "-I${STAGING_DIR}/${BUILD_SYS}/include"
export CPPFLAGS = "${TARGET_CPPFLAGS}"
export TARGET_CPPFLAGS = "-I${STAGING_DIR}/${TARGET_SYS}/include"
-export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${SELECTED_OPTIMIZATION}"
+export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}"
export CFLAGS = "${TARGET_CFLAGS}"
export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}"