Skip to content

Commit

Permalink
lowfat: inherit sanitizer cflags, e.g. -fno-builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
ddcc committed Sep 24, 2020
1 parent d745141 commit 510fc75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(LOWFAT_SOURCES

include_directories(..)

set(LOWFAT_CFLAGS -std=gnu99 -m64 -mno-bmi -mno-bmi2 -mno-lzcnt -I. -O2 -mcmodel=large -DLOWFAT_LINUX)
set(LOWFAT_CFLAGS ${SANITIZER_COMMON_CFLAGS} -std=gnu99 -m64 -mno-bmi -mno-bmi2 -mno-lzcnt -I. -O2 -mcmodel=large -DLOWFAT_LINUX)

add_compiler_rt_runtime(clang_rt.lowfat
STATIC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(LOWFAT_SOURCES

include_directories(..)

set(LOWFAT_CFLAGS -std=gnu99 -m64 -I. -O2 -mbmi -mbmi2 -mlzcnt -mcmodel=large -DLOWFAT_LINUX)
set(LOWFAT_CFLAGS ${SANITIZER_COMMON_CFLAGS} -std=gnu99 -m64 -I. -O2 -mbmi -mbmi2 -mlzcnt -mcmodel=large -DLOWFAT_LINUX)

add_compiler_rt_runtime(clang_rt.lowfat
STATIC
Expand Down

0 comments on commit 510fc75

Please sign in to comment.