c324015314
From brad (MAINTAINER) ok sthen@
23 lines
681 B
Plaintext
23 lines
681 B
Plaintext
$OpenBSD: patch-configure_in,v 1.25 2007/09/10 17:49:23 merdely Exp $
|
|
--- configure.in.orig Wed Sep 5 18:25:42 2007
|
|
+++ configure.in Wed Sep 5 21:01:07 2007
|
|
@@ -2248,18 +2248,6 @@ dnl during compile.
|
|
;;
|
|
esac
|
|
|
|
-# Remove optimization for GCC 2.95.[123]
|
|
-# gcc -O[2] on *BSD and Linux (x86) causes pointers to magically become NULL
|
|
-if test "$GCC" = "yes"; then
|
|
- GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
|
|
- case "$GCCVER" in
|
|
- [2.95.[123]])
|
|
- echo "Removing -O for gcc on $host with GCC $GCCVER"
|
|
- CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9]]*//'`"
|
|
- ;;
|
|
- esac
|
|
-fi
|
|
-
|
|
# Recommended by Balint Nagy Endre <bne@CareNet.hu>
|
|
case "$host" in
|
|
*-univel-sysv4.2MP)
|