aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/configure.ac3
-rw-r--r--configure.ac3
2 files changed, 6 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
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"
)