diff options
-rw-r--r-- | makefile | 2 | ||||
-rwxr-xr-x | test_layers | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile index 3938cbb2..86d9fab9 100644 --- a/makefile +++ b/makefile @@ -25,7 +25,7 @@ mu_bin: mu.cc makefile function_list test_list cleave/cleave BUILD_SRC=$(wildcard .build/*.cc) .build/mu_bin: $(BUILD_SRC:.cc=.o) termbox/libtermbox.a - ${CXX} .build/*.o termbox/libtermbox.a -o .build/mu_bin + ${CXX} ${LDFLAGS} .build/*.o termbox/libtermbox.a -o .build/mu_bin .build/%.o: .build/%.cc .build/header .build/global_declarations_list @# explicitly state default rule since we added dependencies diff --git a/test_layers b/test_layers index 8b550ebd..35cfb8fa 100755 --- a/test_layers +++ b/test_layers @@ -32,7 +32,7 @@ do done # Layers for Mu apps without Valgrind -CXX=clang++ CXXFLAGS="-O3 -fsanitize=undefined -Wno-tautological-constant-out-of-range-compare" make +CXX=clang++ CXXFLAGS="-O3 -fsanitize=undefined -Wno-tautological-constant-out-of-range-compare" LDFLAGS="-fsanitize=undefined" make if [[ ! $1 || $1 == chessboard ]] then |