summaryrefslogtreecommitdiff
path: root/mk/vars.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-17 22:24:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-17 22:24:44 +0100
commitda133cad10885ca36be26b1b043c737e295a4cd4 (patch)
tree3fb8e1189dce7188c4681144f96982d30c4511bd /mk/vars.mk
parent638c9f989542642d52859a56913ae5c2ace93e69 (diff)
parent642a45334676311b50bd2b45ae49c45f8b86c86d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: TODO
Diffstat (limited to 'mk/vars.mk')
-rw-r--r--mk/vars.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 014017ee8..bc6689cb8 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -82,7 +82,7 @@ TARGET_CFLAGS_LIBC:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident -fhonour-copts $(T
endif
TARGET_CXXFLAGS:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident
TARGET_LDFLAGS:= -L$(STAGING_TARGET_DIR)/lib -L$(STAGING_TARGET_DIR)/usr/lib \
- -Wl,-O2 -Wl,-rpath -Wl,/usr/lib \
+ -Wl,-O1 -Wl,-rpath -Wl,/usr/lib \
-Wl,-rpath-link -Wl,${STAGING_TARGET_DIR}/usr/lib \
$(ADK_TARGET_ABI_LDFLAGS) $(TARGET_CFLAGS_ARCH)
# security optimization, see http://www.akkadia.org/drepper/dsohowto.pdf