Group :: Development/Other
RPM: gforth
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 06-configure-assumptions.patch
Download
Download
Correct some of the configure script's assumtpions:
- disable the unsupported build optimization of passing -m486 to gcc
- do not pass -Xlinker -N on hppa, it breaks the build
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2009-09-08
--- a/configure
+++ b/configure
@@ -4204,25 +4204,17 @@
esac
#-N needed for --dynamic <M4U3b.3790$9d.317@news.cpqcorp.net>
- LDFLAGS="$LDFLAGS -Xlinker -N"
+ #LDFLAGS="$LDFLAGS -Xlinker -N"
LIBS="$LIBS -L/lib/pa1.1/"
;;
sparc*)
machine=sparc
;;
- i386)
- machine=386
- CFLAGS="$CFLAGS -fomit-frame-pointer -fforce-addr"
- ;;
- i486)
- machine=386
- CFLAGS="$CFLAGS -fomit-frame-pointer -fforce-addr -m486"
- ;;
i*86)
machine=386
CFLAGS="$CFLAGS -fomit-frame-pointer -fforce-addr"
CFLAGS_1="$CFLAGS"
- CFLAGS="$CFLAGS -march=pentium"
+ CFLAGS="$CFLAGS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4260,7 +4252,7 @@
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- CFLAGS="$CFLAGS_1 -m486"
+ CFLAGS="$CFLAGS_1"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext