summaryrefslogtreecommitdiff
path: root/m4/mpc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/mpc.m4')
-rw-r--r--m4/mpc.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/mpc.m4 b/m4/mpc.m4
index c1c5570..dae9166 100644
--- a/m4/mpc.m4
+++ b/m4/mpc.m4
@@ -33,7 +33,7 @@ MPC_PROG_CC_WARNINGFLAG([CFLAG-VAR])
AC_DEFUN([MPC_PROG_CC_WARNINGCFLAGS], [
AC_REQUIRE([AC_PROG_GREP])
if echo $VERSION | grep -c dev >/dev/null 2>&1 ; then
- if test x$GCC = xyes ; then
+ if test "x$GCC" = "xyes" -a "x$compiler" != "xicc" ; then
case $host in
*darwin*) ;;
*) AX_C_CHECK_FLAG(-D_FORTIFY_SOURCE=2,,,$1="$$1 -D_FORTIFY_SOURCE=2",) ;;