Browse Source

uclibc-ng-test: disable dynamic linking when FLAT is used

Waldemar Brodkorb 9 years ago
parent
commit
603842fae6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/uclibc-ng-test/Makefile

+ 3 - 0
package/uclibc-ng-test/Makefile

@@ -27,6 +27,9 @@ endif
 ifeq ($(ADK_TARGET_WITHOUT_THREADS),y)
 ifeq ($(ADK_TARGET_WITHOUT_THREADS),y)
 XAKE_FLAGS+=		NO_TLS=1 NO_THREADS=1
 XAKE_FLAGS+=		NO_TLS=1 NO_THREADS=1
 endif
 endif
+ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
+XAKE_FLAGS+=		NO_DL=1
+endif
 ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
 ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
 XAKE_FLAGS+=		NO_DL=1
 XAKE_FLAGS+=		NO_DL=1
 endif
 endif