summaryrefslogtreecommitdiff
authorTom Gundersen <teg@jklm.no>2014-02-07 14:48:07 (GMT)
committer Tom Gundersen <teg@jklm.no>2014-02-07 14:48:35 (GMT)
commit07c71313c53b21a17b47510daa7ddf17a645446c (patch) (side-by-side diff)
treee93261e8892313b126ef5b61291f1afe7a9c038f
parenta6cc569e33a05b07550c6c7b4d67d83d868f8bc1 (diff)
downloadsystemd-07c71313c53b21a17b47510daa7ddf17a645446c.zip
systemd-07c71313c53b21a17b47510daa7ddf17a645446c.tar.gz
build-sys: autogen - enable compat libs by default
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xautogen.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/autogen.sh b/autogen.sh
index 49d5519..bd74be3 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -54,19 +54,19 @@ args="$args \
fi
if [ "x$1" = "xc" ]; then
- ./configure CFLAGS='-g -O0 -ftrapv' --enable-kdbus $args
+ ./configure CFLAGS='-g -O0 -ftrapv' --enable-compat-libs --enable-kdbus $args
make clean
elif [ "x$1" = "xg" ]; then
- ./configure CFLAGS='-g -Og -ftrapv' --enable-kdbus $args
+ ./configure CFLAGS='-g -Og -ftrapv' --enable-compat-libs --enable-kdbus $args
make clean
elif [ "x$1" = "xa" ]; then
- ./configure CFLAGS='-g -O0 -Wsuggest-attribute=pure -Wsuggest-attribute=const -ftrapv' --enable-kdbus $args
+ ./configure CFLAGS='-g -O0 -Wsuggest-attribute=pure -Wsuggest-attribute=const -ftrapv' --enable-compat-libs --enable-kdbus $args
make clean
elif [ "x$1" = "xl" ]; then
- ./configure CC=clang CFLAGS='-g -O0 -ftrapv -Wno-cast-align -Wno-gnu' --enable-kdbus $args
+ ./configure CC=clang CFLAGS='-g -O0 -ftrapv -Wno-cast-align -Wno-gnu' --enable-compat-libs --enable-kdbus $args
make clean
elif [ "x$1" = "xs" ]; then
- scan-build ./configure CFLAGS='-g -O0 -ftrapv' --enable-kdbus $args
+ scan-build ./configure CFLAGS='-g -O0 -ftrapv' --enable-compat-libs --enable-kdbus $args
scan-build make
else
echo
@@ -74,6 +74,6 @@ else
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
- echo "./configure CFLAGS='-g -O0 -ftrapv' --enable-kdbus $args"
+ echo "./configure CFLAGS='-g -O0 -ftrapv' --enable-compat-libs --enable-kdbus $args"
echo
fi