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 <drepper@redhat.com>. r=rrelyea,wtc. git-svn-id: svn://10.0.0.236/trunk@256903 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
aab096c8c3
commit
b908bf4e21
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user