]> git.xolatile.top Git - public-libhl.git/commitdiff
respect CPPFLAGS when debug compiling
authoranon <anon@anon.anon>
Thu, 24 Aug 2023 17:17:49 +0000 (19:17 +0200)
committeranon <anon@anon.anon>
Thu, 24 Aug 2023 17:18:36 +0000 (19:18 +0200)
chad.mk

diff --git a/chad.mk b/chad.mk
index dc8779343657479df20cad98af95c3eb086a6401..b300ac963acf42778306bae0c3a2a675f5d1504c 100644 (file)
--- a/chad.mk
+++ b/chad.mk
@@ -14,6 +14,6 @@ VALGRIND:=valgrind
 VALGRIND.flags:=--track-origins=yes --leak-check=full --show-leak-kinds=all
 
 chad_test:
-       ${CLANG} ${D.versions} ${GCC.warnings} ${SRC} -o ${TARGET}
-       ${GCC} ${D.versions} ${GCC.debug} ${GCC.warnings} ${SRC} -o ${TARGET}
+       ${CLANG} ${CPPFLAGS} ${D.versions}              ${GCC.warnings} ${SRC} -o ${TARGET}
+       ${GCC}   ${CPPFLAGS} ${D.versions} ${GCC.debug} ${GCC.warnings} ${SRC} -o ${TARGET}
        ${VALGRIND} ${VALGRIND.flags} $(shell pwd)/${TARGET} ${ARGS}