Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Solovev committed Sep 2, 2024
1 parent 15d7fea commit f9b8d94
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev/make/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ secure.opts.icc.lnx = -Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack
secure.opts.icc.mac = -Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector

secure.opts.link.win = -DYNAMICBASE -NXCOMPAT
ifeq ($(COMPILER),vc)
secure.opts.link.win := /DYNAMICBASE /NXCOMPAT
else ifeq ($(COMPILER),msvc)
secure.opts.link.win := /DYNAMICBASE /NXCOMPAT
endif

secure.opts.link.lnx = -z relro -z now -z noexecstack
secure.opts.link.mac =

Expand Down

0 comments on commit f9b8d94

Please sign in to comment.