summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf10
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 523a33dd78..90b0403d0b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -335,7 +335,8 @@ PATCHRESOLVE = 'user'
335 335
336export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}" 336export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}"
337export CPPFLAGS = "${TARGET_CPPFLAGS}" 337export CPPFLAGS = "${TARGET_CPPFLAGS}"
338export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${layout_includedir}" 338export TARGET_CPPFLAGS = ""
339#export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${layout_includedir}"
339 340
340export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" 341export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}"
341export CFLAGS = "${TARGET_CFLAGS}" 342export CFLAGS = "${TARGET_CFLAGS}"
@@ -349,9 +350,10 @@ export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \
349 -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} \ 350 -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} \
350 -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-O1" 351 -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-O1"
351export LDFLAGS = "${TARGET_LDFLAGS}" 352export LDFLAGS = "${TARGET_LDFLAGS}"
352export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${layout_libdir} \ 353export TARGET_LDFLAGS = "-Wl,-O1"
353 -Wl,-rpath-link,${STAGING_DIR_TARGET}${layout_libdir} \ 354#export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${layout_libdir} \
354 -Wl,-O1" 355# -Wl,-rpath-link,${STAGING_DIR_TARGET}${layout_libdir} \
356# -Wl,-O1"
355 357
356# Which flags to leave by strip-flags() in bin/build/oebuild.sh ? 358# Which flags to leave by strip-flags() in bin/build/oebuild.sh ?
357ALLOWED_FLAGS = "-O -mcpu -march -pipe" 359ALLOWED_FLAGS = "-O -mcpu -march -pipe"