update NOTICE and LICENSE
[nit.git] / bin / gccx
index 6bcd9cf..83f8c9f 100755 (executable)
--- a/bin/gccx
+++ b/bin/gccx
@@ -19,7 +19,7 @@
 
 OPTS="-g" # option for compiler call
 objs="" # List of .o files
-CC="gcc --ansi --pedantic -Wall -Wextra -Wformat-security -Wcast-align -Wno-uninitialized -Wno-unused-variable -Wno-unused-label -Wno-unused-parameter -Wno-missing-field-initializers" # Default compiler call
+CC="cc" # Default compiler call
 ext="_savo _sav" # Default flavor to reuse
 out="a.out"  # Default output binary filename
 dir="" # Default tmp dir
@@ -67,7 +67,7 @@ return $res
 }
 
 cache=true
-if ccache -V 2>&1 >/dev/null; then
+if ccache -V 2>/dev/null >/dev/null; then
        cache=ccache
 fi