mirror of
https://github.com/intel/isa-l.git
synced 2024-12-13 09:52:56 +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
|
ASFLAGS_mingw = -f win64
|
||||||
ARFLAGS_mingw = cr $@
|
ARFLAGS_mingw = cr $@
|
||||||
|
|
||||||
|
ifneq ($(arch),mingw)
|
||||||
LDFLAGS_so = -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-soname,$(soname)
|
LDFLAGS_so = -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-soname,$(soname)
|
||||||
|
|
||||||
ifeq ($(shell uname),Linux)
|
ifeq ($(shell uname),Linux)
|
||||||
ifeq ($(host_cpu),x86_64)
|
ifeq ($(host_cpu),x86_64)
|
||||||
CFLAGS_ += -fcf-protection=full
|
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
|
LDFLAGS += -Wl,-z,ibt -Wl,-z,shstk -Wl,-z,cet-report=error
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(arch),mingw)
|
ifeq ($(arch),mingw)
|
||||||
CC=x86_64-w64-mingw32-gcc
|
CC=x86_64-w64-mingw32-gcc
|
||||||
|
Loading…
Reference in New Issue
Block a user