the asumptions were of course, incorrect
[convexer.git] / build.sh
index 6cf104cdab8285be63d89bdbb367b719fc65daf5..a20dc3ea2503fbad4408856298803e7440e31147 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -65,7 +65,7 @@ fi
 mkdir -p nbvtf/obj
 compile $C -O1 -ggdb -fPIC -shared \
    -Wall -Wno-unused-variable -Wno-unused-function -std=c99 -pedantic \
-   -DCXR_SO -DCXR_DEBUG -DCXR_VALVE_MAP_FILE \
+   -DCXR_SO -DCXR_DEBUG -DCXR_VALVE_MAP_FILE -DCXR_VALVE_BIN \
    -xc cxr/cxr.h \
    -o libcxr$lib_ext \
    -lm
@@ -96,8 +96,9 @@ compile $C -O3 \
       -lm
 
 # This is for testing with asan on linux
-# compile gcc -ggdb -O1 -Wall \
-#              -Wno-unused-variable -Wno-unused-function $asan -Werror=vla \
-#              cxr/test.c \
-#              -o test$exe_ext \
-#              -lm 
+compile $C -ggdb -O0 -Wall \
+               -Wno-unused-variable -Wno-unused-function $asan -Werror=vla \
+      -DCXR_SO -DCXR_DEBUG -DCXR_VALVE_MAP_FILE \
+               cxr/test.c \
+               -o test$exe_ext \
+               -lm