From b908bf4e21eaed107ad6500a44a39b5eacaf9b1b Mon Sep 17 00:00:00 2001 From: "wtc%google.com" Date: Sun, 12 Apr 2009 23:35:30 +0000 Subject: [PATCH] Bug 486537: Pass the --noexecstack flag to the assembler when building for Linux x86_64 to disable execstack. The patch is contributed by Ulrich Drepper . r=rrelyea,wtc. git-svn-id: svn://10.0.0.236/trunk@256903 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/lib/freebl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/security/nss/lib/freebl/Makefile b/mozilla/security/nss/lib/freebl/Makefile index 426507ee9d7..27848ce2530 100644 --- a/mozilla/security/nss/lib/freebl/Makefile +++ b/mozilla/security/nss/lib/freebl/Makefile @@ -149,7 +149,7 @@ endif 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