diff options
author | Phil Blundell <philb@gnu.org> | 2004-10-21 19:31:36 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-10-21 19:31:36 +0000 |
commit | 65aa958bb0738d86200e4823fa25f91ed5656e57 (patch) | |
tree | 844ad0fc72b776518ec8848bbb0b0da0df2a810f /conf | |
parent | d6c92ced6d285a67503f8a0787c892b7e5d4e835 (diff) |
add -O1 to linker flags
BKrev: 41780e989JI2n14-KXmI03E_kMdWVw
Diffstat (limited to 'conf')
-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" |