revamp-strings (#1)

Co-authored-by: Abdelrahman Said <said.abdelrahman@flawlessai.com>
Reviewed-on: #1
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
This commit is contained in:
2024-10-07 22:35:56 +00:00
committed by Abdelrahman Said
parent 40d301fd95
commit 685682e1c8
10 changed files with 94 additions and 303 deletions

View File

@@ -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"