From: Yang Tse <yangsita@gmail.com> Date: Fri, 29 Feb 2008 17:13:39 +0000 (+0000) Subject: Force AIX xlc to fail and not generate object code if the source code has X-Git-Tag: curl-7_18_1~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=115446be3784f996cd4927191db55ae1613a897f;p=curl Force AIX xlc to fail and not generate object code if the source code has compiled with errors. This behaviour is needed for autoconf macros which rely on the ability to compile with or without errors, and is safer than xlc's default of failing only upon severe errors. --- diff --git a/ares/configure.ac b/ares/configure.ac index 7edc374b7..0f1a16a0c 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -342,6 +342,9 @@ if test "x$RECENTAIX" = "xyes"; then dnl the optimizer assumes that pointers can only point to dnl an object of the same type. CFLAGS="$CFLAGS -qnoansialias" + dnl Force AIX xlc to stop after the compilation phase, and not + dnl generate object code, when the source compiles with errors. + CFLAGS="$CFLAGS -qhalt=e" ) fi diff --git a/configure.ac b/configure.ac index 990df578d..5a086bebb 100644 --- a/configure.ac +++ b/configure.ac @@ -1750,6 +1750,9 @@ if test "x$RECENTAIX" = "xyes"; then dnl the optimizer assumes that pointers can only point to dnl an object of the same type. CFLAGS="$CFLAGS -qnoansialias" + dnl Force AIX xlc to stop after the compilation phase, and not + dnl generate object code, when the source compiles with errors. + CFLAGS="$CFLAGS -qhalt=e" )