diff --git a/ares/configure.ac b/ares/configure.ac index 7edc374b7f97c205d6a8b0210cda5c1e83ba1744..0f1a16a0ccb647913984f6e3d6002785eb16a770 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 990df578d4df43f09a99235a49f1f389300106cd..5a086bebbbf32395230d7d4e202a1f84cf62fd7b 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" )