summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-16 09:50:36 -0700
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-16 09:50:36 -0700
commit2f5fd9680065f15ebb6a3962d9bfac89f383db9a (patch)
tree06f1395f8467156b43917b161a49411fc0ac92cf /mk
parenta51cd649c1e7e55ce217d939eac29b11e9a572f0 (diff)
parenta8bb4a2200eebf863c5a156677d696e98c4644e7 (diff)
Merge branch 'master' of git+ssh://www.openadk.org/git/openadk
Diffstat (limited to '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 657d44ae5..c2844e954 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -86,7 +86,7 @@ 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,-rpath-link -Wl,${STAGING_TARGET_DIR}/usr/lib \
- $(ADK_TARGET_ABI_LDFLAGS)
+ $(ADK_TARGET_ABI_LDFLAGS) $(TARGET_CFLAGS_ARCH)
ifneq ($(ADK_NATIVE),)
TARGET_CPPFLAGS:=