Browse Source

fix DODEBUG and LDSO_GNU_HASH_SUPPORT settings

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Waldemar Brodkorb 9 years ago
parent
commit
c3b9bd5ea0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      toolchain/uclibc-ng/Makefile

+ 4 - 1
toolchain/uclibc-ng/Makefile

@@ -150,7 +150,7 @@ else
 	$(SED) 's/.*\(HAVE_SHARED\).*/# \1 is not set/' ${WRKBUILD}/.config
 endif
 ifeq ($(ADK_TARGET_USE_GNU_HASHSTYLE),y)
-	$(SED) 's/.*\(LDSO_GNU_HASH_SUPPORT\).*/#\1=y/' ${WRKBUILD}/.config
+	$(SED) 's/.*\(LDSO_GNU_HASH_SUPPORT\).*/\1=y/' ${WRKBUILD}/.config
 else
 	$(SED) 's/.*\(LDSO_GNU_HASH_SUPPORT\).*/# \1 is not set/' ${WRKBUILD}/.config
 endif
@@ -160,6 +160,9 @@ ifeq ($(ADK_TARGET_USE_SSP),y)
 	echo "SSP_QUICK_CANARY=n" >> ${WRKBUILD}/.config
 	echo "UCLIBC_BUILD_SSP=y" >> ${WRKBUILD}/.config
 endif
+ifeq ($(ADK_DEBUG),y)
+	$(SED) 's/.*\(DODEBUG\).*/\1=y/' ${WRKBUILD}/.config
+endif
 
 #
 # architecture specific options