diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-06-20 14:08:35 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-06-20 14:09:46 -0400 |
commit | f8ba689c096302e3946db1c35c2a8e5dd8907390 (patch) | |
tree | 812d403a8ab43bfb3c8c732882d9bff03e193c1f | |
parent | 33f85610b4174f937e1b61caee15fd4d80e4881c (diff) | |
download | bfs-f8ba689c096302e3946db1c35c2a8e5dd8907390.tar.xz |
build: Turn off ASLR for all sanitizers on FreeBSD
Newer LLVM versions will reject every sanitizer runtime if ASLR is
enabled.
Link: https://reviews.llvm.org/D66582
Link: https://reviews.freebsd.org/D33933
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ all: bfs tests $(BIN)/%: @$(MKDIR) $(@D) +$(CC) $(ALL_LDFLAGS) $^ $(ALL_LDLIBS) -o $@ -ifeq ($(OS) $(TSAN),FreeBSD tsan) +ifeq ($(OS) $(SANITIZE),FreeBSD y) elfctl -e +noaslr $@ endif |