summaryrefslogtreecommitdiff
path: root/mk/vars.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-31 19:58:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-31 19:59:05 +0200
commit0d5a4bd73159fc794fdb417d49ab810b26e7d059 (patch)
tree53ef333b84afbbe7d6fed470885d716075295395 /mk/vars.mk
parent9e3458d13ae01591479732c1fe0cada8fd2259b7 (diff)
rework static linking support, works with musl/glibc, fails to boot with uclibc (qemu-x86)
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 f1bf2be48..bd77f391f 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -97,7 +97,7 @@ TARGET_LDFLAGS+= -Wl,--secure-plt
endif
endif
-ifeq ($(ADK_STATIC),y)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
TARGET_CFLAGS+= -static
TARGET_CXXFLAGS+= -static
TARGET_LDFLAGS+= -static