From 029c3ad67068304b1f67af7a8fa7dd557c2857ba Mon Sep 17 00:00:00 2001 From: shankar Date: Wed, 24 Feb 2010 04:04:44 +0000 Subject: removing gcc specific options from CFLAGS. Check AXIS2C-1431 for more details git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@915662 13f79535-47bb-0310-9956-ffa450edef68 --- samples/configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'samples') diff --git a/samples/configure.ac b/samples/configure.ac index 644d35e..1ce3129 100644 --- a/samples/configure.ac +++ b/samples/configure.ac @@ -47,7 +47,10 @@ fi dnl Checks for libraries. AC_CHECK_LIB(dl, dlopen) -CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration" +CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" +if test "$GCC" = "yes"; then + CFLAGS="$CFLAGS -ansi -Wall -Werror -Wno-implicit-function-declaration -g -D_GNU_SOURCE" +fi dnl Checks for header files. AC_HEADER_STDC -- cgit v1.1-32-gdbae