From 456f7aebc61f5cf00dcacbb9cf46c60544139c87 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)> Date: Fri, 19 Mar 2010 21:42:56 +0000 Subject: [PATCH] add -fpic to itanium icc build --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 3d54ead0..b4f11685 100755 --- a/configure +++ b/configure @@ -3334,7 +3334,7 @@ echo "include_mpn(\`ia64/ia64-defs.m4')" >> $gmp_tmpconfigm4i case $host in *-*-linux*) cclist="gcc icc" - icc_cflags="-no-gcc" + icc_cflags="-no-gcc -fpic" icc_cflags_optlist="opt" # FIXME: Check if -O3 is really right. The manual warns it is for # large data sets, for which GMP uses assembly loops. diff --git a/configure.in b/configure.in index f65d911a..fa4670d7 100644 --- a/configure.in +++ b/configure.in @@ -676,7 +676,7 @@ case $host in case $host in *-*-linux*) cclist="gcc icc" - icc_cflags="-no-gcc" + icc_cflags="-no-gcc -fpic" icc_cflags_optlist="opt" # FIXME: Check if -O3 is really right. The manual warns it is for # large data sets, for which GMP uses assembly loops.