don't grab in -mdynamic-no-pic when using icc, note that you need at least

version 9.0.25 (build 20050809) to have a working binary
This commit is contained in:
gbeauche 2005-08-18 22:32:31 +00:00
parent a750963a94
commit 5f7021a179

View File

@ -1235,8 +1235,8 @@ if [[ "x$HAVE_GCC30" = "xyes" ]]; then
CFLAGS="$SAVED_CFLAGS"
fi
dnl Add -mdynamic-no-pic for MacOS X
if [[ "x$HAVE_GCC30" = "xyes" ]]; then
dnl Add -mdynamic-no-pic for MacOS X (XXX icc10 will support MacOS X)
if [[ "x$HAVE_GCC30" = "xyes" -a "x$HAVE_ICC" = "xno" ]]; then
SAVED_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -mdynamic-no-pic"
AC_CACHE_CHECK([whether the compiler supports -mdynamic-no-pic],