Switch to using gcc instead of clang

This commit is contained in:
Abdelrahman Said 2023-11-04 14:21:44 +00:00
parent b2dc73148e
commit 07a223f250

View File

@ -20,7 +20,7 @@ FG_BR_MAGENTA="\033[95"
FG_BR_CYAN="\033[96" FG_BR_CYAN="\033[96"
FG_BR_WHITE="\033[97" FG_BR_WHITE="\033[97"
CC=clang CC=gcc
AR=ar AR=ar
CFLAGS="-Wall -Werror -pedantic -Iinclude -Iintern/c-cpp-aliases -Iintern/cpath/include " CFLAGS="-Wall -Werror -pedantic -Iinclude -Iintern/c-cpp-aliases -Iintern/cpath/include "
@ -78,7 +78,7 @@ if [[ $BUILD_TYPE == "debug" ]]; then
else else
mkdir -p dist mkdir -p dist
cp ./include/pak.h dist cp ./include/pak.h dist
CFLAGS+="-O3 " CFLAGS+="-O3 -g "
PCKR_OUT="dist/pckr" PCKR_OUT="dist/pckr"
PAKRD_OUT="dist/libpakrd.a" PAKRD_OUT="dist/libpakrd.a"
fi fi