diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -10,7 +10,9 @@ CC=clang ADDITIONAL_FLAGS='-Wno-unused-function -Wno-unneeded-internal-declaration' WARNINGS='-Wall -Wextra -Wpedantic -Wconversion -Wshadow' -DEBUG_FLAGS="-O0 -g3 $WARNINGS -std=c11" +DEBUG_FLAGS="-O0 -g3 $WARNINGS -std=c11 -DTOC_DEBUG" RELEASE_FLAGS="-O3 -DNDEBUG $WARNINGS -std=c11" -$CC $DEBUG_FLAGS $ADDITIONAL_FLAGS -o toc main.c || exit 1 +COMMAND="$CC $DEBUG_FLAGS $ADDITIONAL_FLAGS -o toc main.c" +echo $COMMAND +$COMMAND || exit 1 |