summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2012-03-29 08:48:22 -0400
committerAnthony Green <green@moxielogic.com>2012-03-29 08:48:22 -0400
commit7c5e60b5f47d725036a72162f136272bc407e3a1 (patch)
treebd3d00ea47b83ecdd0b5b74195346a11d463e4d3 /configure
parente72ed5eeaa9cfb0fdc86f6b3422734177b659f96 (diff)
downloadlibffi-7c5e60b5f47d725036a72162f136272bc407e3a1.tar.gz
Rebase on fixed GCC sources
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index cec095b..08abce4 100755
--- a/configure
+++ b/configure
@@ -14245,10 +14245,10 @@ if ${libffi_cv_as_x86_pcrel+:} false; then :
$as_echo_n "(cached) " >&6
else
- libffi_cv_as_x86_pcrel=no
+ libffi_cv_as_x86_pcrel=yes
echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
- if $CC $CFLAGS -c conftest.s > /dev/null; then
- libffi_cv_as_x86_pcrel=yes
+ if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then
+ libffi_cv_as_x86_pcrel=no
fi
fi