diff --git a/build.sh b/build.sh index 5dda1c8..e7b6268 100755 --- a/build.sh +++ b/build.sh @@ -17,7 +17,7 @@ mkdir -p $PREFIX && echo "Made directory: $PREFIX" # Bourne shell is evil if [ ${DEBUG-0} -eq 1 ] then - CFLAGS=`echo "${CFLAGS} -Og -ggdb"` + CFLAGS=`echo "${CFLAGS} -O0 -ggdb"` else CPPFLAGS="${CPPFLAGS} -DNDEBUG" CFLAGS=`echo "${CFLAGS} -O2 -flto=auto -fomit-frame-pointer -s"`