X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b59f2cb82ded2f9b35e2f558826322890311d3c2..b1d2923efeb89a7a3e6321d459f0582993fdb470:/projects/sgconf/build diff --git a/projects/sgconf/build b/projects/sgconf/build index d7b72363..62fceb23 100755 --- a/projects/sgconf/build +++ b/projects/sgconf/build @@ -20,6 +20,7 @@ if [ "$1" = "debug" ] then DEFS="$DEFS -DDEBUG" MAKEOPTS="$MAKEOPTS -j1" + CFLAGS="$CFLAGS -ggdb3 -W -Wall -Wextra" CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra" DEBUG="yes" else @@ -27,6 +28,7 @@ else DEBUG="no" fi +CFLAGS="$CFLAGS -I/usr/local/include" CXXFLAGS="$CXXFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib"