The flags -mno-aes -mno-avx only exist for clang, not gcc, so
add them only to the clang CFLAGS.
This commit is contained in:
parent
7ec1b6b672
commit
e30880fb35
@ -14,7 +14,8 @@ LDFLAGS+= -nostdlib
|
||||
.if ${MACHINE_CPUARCH} == "amd64"
|
||||
CFLAGS+= -fshort-wchar
|
||||
CFLAGS+= -mno-red-zone
|
||||
CFLAGS+= -mno-mmx -mno-sse -mno-aes -mno-avx
|
||||
CFLAGS+= -mno-mmx -mno-sse
|
||||
CFLAGS.clang+= -mno-aes -mno-avx
|
||||
.endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user