]> git.pld-linux.org Git - packages/gmp.git/blame - gmp-gcc-version.patch
- typo
[packages/gmp.git] / gmp-gcc-version.patch
CommitLineData
c10de301
AM
1--- gmp-4.1.1/configure.gcc-version 2002-12-02 15:51:11.000000000 +0100
2+++ gmp-4.1.1/configure 2002-12-02 15:56:56.000000000 +0100
3@@ -2939,7 +2939,7 @@
4 ;;
5 gcc-arm-umodsi) echo "$as_me:2936: checking whether ARM gcc unsigned division works" >&5
6 echo $ECHO_N "checking whether ARM gcc unsigned division works... $ECHO_C" >&6
7-tmp_version=`$cc --version`
8bef1429 8+tmp_version=`$cc -dumpversion`
c10de301
AM
9 echo "$tmp_version" >&5
10 case $tmp_version in
11 2.95 | 2.95.[123])
12@@ -3035,7 +3035,7 @@
13 case $host in
14 m68*-*-*)
15 if test $ccbase = gcc; then
16- case `$cc --version` in
17+ case `$cc -dumpversion` in
18 2.95*) flag=-O ;;
19 esac
20 fi
21@@ -11059,7 +11059,7 @@
22 # GNU C++ compiler with Solaris linker
23 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
24 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
25- if $CC --version | egrep -v '^2\.7' > /dev/null; then
26+ if $cc -dumpversion | egrep -v '^2\.7' > /dev/null; then
27 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
28 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
29 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
This page took 0.034167 seconds and 4 git commands to generate.