aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-02-29 17:13:39 +0000
committerYang Tse <yangsita@gmail.com>2008-02-29 17:13:39 +0000
commit115446be3784f996cd4927191db55ae1613a897f (patch)
treed35d8448efd53f8dea129f4f0ba963d49825ddb7 /ares
parentd83606ee3a8b52e891bd5114e53e705f586a5e27 (diff)
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.
Diffstat (limited to 'ares')
-rw-r--r--ares/configure.ac3
1 files changed, 3 insertions, 0 deletions
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