]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl: Build with -fstack-protector-all.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 11 Oct 2010 21:11:33 +0000 (23:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 11 Oct 2010 21:11:33 +0000 (23:11 +0200)
pkgs/core/perl/perl.nm

index d99a363b7e01ab2ede376185b2a13a79f009b743..c1325847b5fe5adab37bfe57614fb7ada26a7b73 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = perl
 PKG_VER        = 5.12.2
-PKG_REL        = 0
+PKG_REL        = 1
 
 PKG_MAINTAINER =
 PKG_GROUP      = Development/Languages
@@ -60,6 +60,10 @@ define STAGE_PREPARE_CMDS
        cd $(DIR_APP) && sed -i 's/command /command[ -]/' makedepend.SH
 endef
 
+# Perl passes -fstack-protector, if no argument is passed that enables the SSP.
+# So we need to pass it explicitely.
+CFLAGS += -fstack-protector-all
+
 define STAGE_BUILD
        cd $(DIR_APP) && sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \
                                                        -e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \