]> git.pld-linux.org Git - packages/nss.git/commitdiff
- kill build with exec stack https://bug486537.bugzilla.mozilla.org/attachment.cgi...
authorzbyniu <zbyniu@pld-linux.org>
Thu, 9 Jul 2009 12:20:21 +0000 (12:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    execstack.patch -> 1.1

execstack.patch [new file with mode: 0644]

diff --git a/execstack.patch b/execstack.patch
new file mode 100644 (file)
index 0000000..b58f667
--- /dev/null
@@ -0,0 +1,12 @@
+--- nss-3.12.2.99.3/mozilla/security/nss/lib/freebl/Makefile-save      2009-04-02 08:46:32.083530732 -0700
++++ nss-3.12.2.99.3/mozilla/security/nss/lib/freebl/Makefile   2009-04-02 08:46:51.740542226 -0700
+@@ -133,7 +133,7 @@
+ ifeq ($(OS_TARGET),Linux)
+ ifeq ($(CPU_ARCH),x86_64)
+     ASFILES  = arcfour-amd64-gas.s mpi_amd64_gas.s
+-    ASFLAGS += -march=opteron -m64 -fPIC
++    ASFLAGS += -march=opteron -m64 -fPIC -Wa,--noexecstack
+     DEFINES += -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
+     DEFINES += -DNSS_USE_COMBA
+     DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN
+
This page took 0.189996 seconds and 4 git commands to generate.