projects
/
vg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
04cb1f3
)
std=c99
author
hgn
<hgodden00@gmail.com>
Sat, 14 May 2022 08:40:31 +0000
(09:40 +0100)
committer
hgn
<hgodden00@gmail.com>
Sat, 14 May 2022 08:40:31 +0000
(09:40 +0100)
vg_compiler.sh
patch
|
blob
|
history
diff --git
a/vg_compiler.sh
b/vg_compiler.sh
index 11a4298c20fde3a642d39b1485586e84528f8ca0..89007f914d403c263a35297f22d959ccc117a25f 100755
(executable)
--- 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"
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"
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"