projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec4062f
)
Use sane CFLAGS while checking for strtok_r
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 14 May 2018 21:23:36 +0000
(23:23 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 14 May 2018 21:23:36 +0000
(23:23 +0200)
Instead of using the flags passed in via the environment.
This makes `./configure CC=clang CFLAGS="-Weverything` work properly.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
6876829
..
0443dbc
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-766,9
+766,7
@@
AC_CHECK_FUNCS_ONCE([ \
AC_FUNC_STRERROR_R
SAVE_CFLAGS="$CFLAGS"
-# Emulate behavior of src/Makefile.am
-if test "x$GCC" = "xyes"; then
- CFLAGS="$CFLAGS -Wall -Werror"
+CFLAGS="-Wall -Werror"
fi
AC_CACHE_CHECK([for strtok_r],