diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-03-28 11:32:08 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-03-28 11:32:08 +0200 |
commit | 6fec3f0d5ce1ca33f8536c95369c46c7d445f248 (patch) | |
tree | 95e23169168398f676af5006a2ec72de47ccab28 /package/dmidecode/Makefile | |
parent | 87bd8834cc5934fe0feacd993bbac1dab10cc228 (diff) |
add -lssp in case of stack protection
Diffstat (limited to 'package/dmidecode/Makefile')
-rw-r--r-- | package/dmidecode/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/dmidecode/Makefile b/package/dmidecode/Makefile index 4c037298c..8829c91b2 100644 --- a/package/dmidecode/Makefile +++ b/package/dmidecode/Makefile @@ -18,6 +18,10 @@ $(eval $(call PKG_template,DMIDECODE,dmidecode,$(PKG_VERSION)-${PKG_RELEASE},${P CONFIG_STYLE:= manual +ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y) +TARGET_LDFLAGS+= -lssp +endif + dmidecode-install: $(INSTALL_DIR) $(IDIR_DMIDECODE)/usr/sbin $(INSTALL_BIN) $(WRKINST)/usr/sbin/dmidecode \ |