diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-16 08:41:36 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-16 08:41:36 +0100 |
commit | cee86caa79a233e810a21145e778216d3daa3521 (patch) | |
tree | 20af3c511ddb480ec5b3cfb8a21c81c67cb7d67e | |
parent | 1def7d50ac5bbc9a3888d3f114ab5abe1fc16a67 (diff) |
add TARGET_CFLAGS_ARCH to TARGET_LDFLAGS, required to fix build of f.e. cfgfs for musl ppc
-rw-r--r-- | mk/vars.mk | 2 |
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:= |