You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: Decontaminate enviromental pollution to allow compiliation by clang
The statements in configure.ac "pollute" the environmental variables. This causes problem
when --enable-warnings is set and clang is the compiler. It only works by accident on
gcc because gcc aborts on illegal flags anyway, but clang does not which causes -Werror
to get added to the check. One of the warning conflicts with that, causing it to be
uncompiliable under clang.
This patch removes the environmental polluation by storing the flags in automake variables.
The flags are then added by automake. Also, there already a function in autoconf-archive to
determine valid flags, so use that instead of the hand-rolled one.
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
0 commit comments