Add -Wa,--noexecstack for aes-armv4.S

pull/696/head
Jeffrey Walton 2018-07-28 10:36:40 -04:00
parent 3657f8c235
commit 5cc3f72d33
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 2 additions and 0 deletions

View File

@ -740,6 +740,7 @@ endif
# Cryptogams AES for ARMv4 and above. We couple to ARMv7.
ifeq ($(IS_ARM32),1)
CRYPTOGAMS_AES_ARCH = -march=armv7-a
CRYPTOGAMS_AES_ARCH += -Wa,--noexecstack
SRCS += aes-armv4.S
endif

View File

@ -328,6 +328,7 @@ INCL := $(filter-out resource.h,$(sort $(wildcard *.h)))
# Cryptogams AES for ARMv4 and above. We couple to ARMv7.
ifeq ($(IS_ARM32),1)
CRYPTOGAMS_AES_ARCH = -march=armv7-a
CRYPTOGAMS_AES_ARCH += -Wa,--noexecstack
SRCS += aes-armv4.S
endif