From 0617ca23161de6e9d6c0a82703e9f1774c0248a9 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 6 Oct 2024 22:06:57 +0100 Subject: [PATCH] Update compile script --- compile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compile b/compile index 0b32abf..75c8ad2 100755 --- a/compile +++ b/compile @@ -16,7 +16,7 @@ while [[ $# > 0 ]];do done CC=clang -CFLAGS="-Wall -Werror -pedantic " +CFLAGS="-Wall -Werror -pedantic" LIBFLAGS="-fPIC -shared" INCLUDE="$(find src -type d | xargs -I{} echo -n "-I{} ")" @@ -32,9 +32,9 @@ fi mkdir -p $BUILD_DIR if [[ $BUILD_TYPE == "release" ]]; then - CFLAGS+="-O3" + CFLAGS+=" -O3" else - CFLAGS+="-g -fsanitize=address -fsanitize=undefined" + CFLAGS+=" -g -fsanitize=address -fsanitize=undefined" fi OUT="$BUILD_DIR/libwapp.so"