build-sys: Set CFLAGS to "-O2 -Werror" in autogen.sh
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 12 Dec 2011 19:23:19 +0000 (17:23 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 12 Dec 2011 19:23:19 +0000 (17:23 -0200)
autogen.sh

index 349f75b..aa828f7 100755 (executable)
@@ -2,7 +2,7 @@
 
 autoreconf --install --symlink
 
-MYCFLAGS="-g"
+MYCFLAGS="-g -O2 -Werror"
 
 libdir() {
        echo $(cd $1/$(gcc -print-multi-os-directory); pwd)