diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -60,7 +60,7 @@ build_compile_commands() { build_test() { CFLAGS="$CFLAGS -g -O0 -DDEBUG" - BUILD_ARGS="$source_files $CFLAGS $LIBS -shared -fpic -o libamalgam.so" + BUILD_ARGS="$source_files $CFLAGS $LIBS -shared -fPIC -o libamalgam.so" set -x time $CC $BUILD_ARGS if [ -n "$SCAN_BUILD" ]; then @@ -80,7 +80,7 @@ build_test() { build_release() { CFLAGS="$CFLAGS -O2 -DNDEBUG -s" - BUILD_ARGS="$source_files $CFLAGS $LIBS -shared -fpic -o libamalgam.so" + BUILD_ARGS="$source_files $CFLAGS $LIBS -shared -fPIC -o libamalgam.so" set -x time $CC $BUILD_ARGS if [ -n "$SCAN_BUILD" ]; then @@ -94,6 +94,7 @@ build_release() { case "$1" in "test") build_test + ./tools/highlevel_c.py ;; "release") build_release |