about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-29 23:33:05 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-29 23:33:05 -0700
commit2b59e065f0db491d2b0e22fabbeb5a97da02c2b6 (patch)
tree0f1684adaa3e284305910f9f379c6fbf4de75ac4
parent3e4658e72d7bfe7ca40e22a2194c8a8278a2c089 (diff)
downloadmu-2b59e065f0db491d2b0e22fabbeb5a97da02c2b6.tar.gz
3283
Fix CI.
-rw-r--r--makefile2
-rwxr-xr-xtest_layers2
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