-
Committer:
Raphael Kubo da Costa
-
Date:
2015-11-28 13:27:45 UTC
-
mto:
This revision was merged to the branch mainline in
revision
306.
-
Revision ID:
git-v1:d69277128afb60999e420c533e826b0061fc40eb
Extend -std=c99 compiler flag to clang.
The ALSA headers use features such as the `inline' keyword that require
C99 support. Commit e36c628 ("Fix compilation: ALSA no longer compiles
with -std=c90") started passing it to the compiler when GCC is used.
We now do the same for clang with a better comment, and also append the
flag to the existing CMAKE_C_FLAGS, otherwise we lose several other
options which are set by FindKDE4Internal.cmake.