diff options
-rw-r--r-- | conf/oe.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/oe.conf b/conf/oe.conf index 3977b491bb..0798ffb4e2 100644 --- a/conf/oe.conf +++ b/conf/oe.conf @@ -225,11 +225,11 @@ export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" export BUILD_LDFLAGS = "-L${STAGING_DIR}/${BUILD_SYS}/lib \ -Wl,-rpath-link,${STAGING_DIR}/${BUILD_SYS}/lib \ - -Wl,-rpath,${STAGING_DIR}/${BUILD_SYS}/lib" + -Wl,-rpath,${STAGING_DIR}/${BUILD_SYS}/lib -Wl,-O1" export LDFLAGS = "${TARGET_LDFLAGS}" export TARGET_LDFLAGS = "-L${STAGING_DIR}/${TARGET_SYS}/lib \ -Wl,-rpath-link,${STAGING_DIR}/${TARGET_SYS}/lib \ - -Wl,-rpath,${libdir}" + -Wl,-rpath,${libdir} -Wl,-O1" # Which flags to leave by strip-flags() in bin/build/oebuild.sh ? ALLOWED_FLAGS = "-O -mcpu -march -pipe" |