couple fix
[carveJwlIkooP6JGAAIwe30JlM.git] / build.sh
index 9f7f13a9b03a82a364a163ae84eb4b67f34247bc..eb741bfdba289a4dd1400616cb1aad027be955a5 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -10,7 +10,7 @@
 # Compiler Presets
 # ==============================================================================
 
-_linux_compiler="gcc -std=c99 -D_REENTRANT"
+_linux_compiler="clang -std=c99 -D_REENTRANT"
 _linux_linkgraphics="-lGL -lglfw3 -lX11 -lXxf86vm -lXrandr -lm -pthread -lXi -ldl"
 _linux_asan="-fsanitize=address"
 _linux_linksteam="-lsteam_api"
@@ -29,7 +29,7 @@ _options_release="-O3 -DVG_RELEASE"
 # Compiler lines
 # ==============================================================================
 
-_warnings="-Wall -Wno-unused-function -Wno-unused-variable"
+_warnings="-Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-command-line-argument -Wno-unused-but-set-variable"
 _include="-I. -I./vg/dep -I./vg/src"
 _library="-L. -L./vg/dep/glfw -L./vg/dep/steam"
 _epilogue="-Wl,-rpath=./"