openbsd-ports/www/squid/patches/patch-configure_in
bernd b8bedd34ec Back out change with no review.
ok espie@, pvalchev@
2006-06-19 11:49:07 +00:00

23 lines
679 B
Plaintext

$OpenBSD: patch-configure_in,v 1.20 2006/06/19 11:49:26 bernd Exp $
--- configure.in.orig Sat Oct 22 05:56:01 2005
+++ configure.in Tue Oct 25 21:27:31 2005
@@ -1735,18 +1735,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)