mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
build: fix CET default in unix Makefile
CET default flag was clobbering CFLAGS. Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
parent
e0fd782974
commit
479b3f84f9
3
make.inc
3
make.inc
@ -80,7 +80,8 @@ 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
|
||||
CFLAGS_ += -fcf-protection=full
|
||||
ASFLAGS_ += -DINTEL_CET_ENABLED
|
||||
LDFLAGS += -Wl,-z,ibt -Wl,-z,shstk -Wl,-z,cet-report=error
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user