summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index e6289b3bcb..91df10a26b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -62,6 +62,9 @@ elif [ "x$1" = "xg" ]; then
elif [ "x$1" = "xa" ]; then
./configure CFLAGS='-g -O0 -Wsuggest-attribute=pure -Wsuggest-attribute=const -ftrapv' --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
+ make clean
else
echo
echo "----------------------------------------------------------------"