mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
Disable hardening build on mingw
Signed-off-by: Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp>
This commit is contained in:
parent
aaad73e15d
commit
ea1288fc6a
3
make.inc
3
make.inc
@ -76,8 +76,8 @@ ARFLAGS_win64 = -out:$@
|
||||
ASFLAGS_mingw = -f win64
|
||||
ARFLAGS_mingw = cr $@
|
||||
|
||||
ifneq ($(arch),mingw)
|
||||
LDFLAGS_so = -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-soname,$(soname)
|
||||
|
||||
ifeq ($(shell uname),Linux)
|
||||
ifeq ($(host_cpu),x86_64)
|
||||
CFLAGS_ += -fcf-protection=full
|
||||
@ -85,6 +85,7 @@ ifeq ($(host_cpu),x86_64)
|
||||
LDFLAGS += -Wl,-z,ibt -Wl,-z,shstk -Wl,-z,cet-report=error
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(arch),mingw)
|
||||
CC=x86_64-w64-mingw32-gcc
|
||||
|
Loading…
Reference in New Issue
Block a user