summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-12-12 17:23:19 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-12-12 17:23:19 -0200
commit927760641a0e0f43265339e09e2d889e8d8e3055 (patch)
tree680f58cbf0b0657766ab39cd606b3641d9e8ee69 /autogen.sh
parent45f277817489b9373a89ce43f8c3628330fd38b0 (diff)
downloadkmod-927760641a0e0f43265339e09e2d889e8d8e3055.tar.gz
kmod-927760641a0e0f43265339e09e2d889e8d8e3055.tar.bz2
kmod-927760641a0e0f43265339e09e2d889e8d8e3055.zip
build-sys: Set CFLAGS to "-O2 -Werror" in autogen.sh
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 349f75b..aa828f7 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,7 +2,7 @@
autoreconf --install --symlink
-MYCFLAGS="-g"
+MYCFLAGS="-g -O2 -Werror"
libdir() {
echo $(cd $1/$(gcc -print-multi-os-directory); pwd)