diff --git a/build.sh b/build.sh index 01e3192..5f40efd 100755 --- a/build.sh +++ b/build.sh @@ -27,7 +27,7 @@ fi mkdir -p bin CC="${CC:-cc}" -CFLAGS="-std=c89 -Wall -Wno-unknown-pragmas" +CFLAGS="${CFLAGS:--std=c89 -Wall -Wno-unknown-pragmas}" case "$(uname -s 2>/dev/null)" in MSYS_NT*) # MSYS2 on Windows UXNEMU_LDFLAGS="-static $(sdl2-config --cflags --static-libs)"