aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8cd64843ce..60a1bfe8e4 100644
--- a/configure.in
+++ b/configure.in
@@ -1039,11 +1039,12 @@ dnl *************************
dnl CFLAGS and LIBS and stuff
dnl *************************
+dnl Utility macro to set compiler flags for a specific lib.
AC_DEFUN(EVO_SET_COMPILE_FLAGS, [
deps="$2"
extra_cflags="$3"
extra_libs="$4"
- $1_CFLAGS="`gnome-config --cflags $deps` $extra_cflags"
+ $1_CFLAGS="\$(WERROR) `gnome-config --cflags $deps` $extra_cflags"
$1_LIBS="`gnome-config --libs $deps` $extra_libs"
])