From: hgn Date: Sat, 14 May 2022 08:40:31 +0000 (+0100) Subject: std=c99 X-Git-Url: https://harrygodden.com/git/?p=vg.git;a=commitdiff_plain;h=beb3b3184fd035d77841650295363f58bed300a6 std=c99 --- diff --git a/vg_compiler.sh b/vg_compiler.sh index 11a4298..89007f9 100755 --- a/vg_compiler.sh +++ b/vg_compiler.sh @@ -97,7 +97,7 @@ precompile_x(){ compile_x(){ paths="-I. -L./ -L$vg_root/dep/glfw -L$vg_root/dep/steam -I$vg_root/dep -I$vg_root/src" - setup="$target_compiler $opt_gcc -Wall -Wstrict-aliasing=3 -Wno-unused-function $paths" + setup="$target_compiler -std=c99 $opt_gcc -Wall -Wstrict-aliasing=3 -Wno-unused-function $paths" targets="$1 $vg_root/dep/glad/glad.c $target_miniaudio -o $2$target_ext" final="$target_libs -Wl,-rpath=./ $opt_steam" cmd="$setup $target_opts $targets $final"