mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-18 18:36:43 +00:00
New clang require visibility set as well
This commit is contained in:
parent
d309bb6237
commit
b7a7523f65
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -201,8 +201,8 @@ CXXFLAGS += -fPIE -fsanitize-memory-track-origins
|
||||||
LDFLAGS += -fPIE -fsanitize-memory-track-origins
|
LDFLAGS += -fPIE -fsanitize-memory-track-origins
|
||||||
endif
|
endif
|
||||||
ifeq ($(SANITIZER),cfi)
|
ifeq ($(SANITIZER),cfi)
|
||||||
CXXFLAGS += -flto
|
CXXFLAGS += -flto -fvisibility=hidden
|
||||||
LDFLAGS += -flto
|
LDFLAGS += -flto -fvisibility=hidden
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue