openbsd-ports/www/squid/patches/patch-ab
2000-07-20 01:17:09 +00:00

22 lines
579 B
Plaintext

--- configure.orig Wed Jul 19 20:38:22 2000
+++ configure Wed Jul 19 20:41:03 2000
@@ -4191,18 +4191,6 @@
;;
esac
-# Remove optimization for GCC 2.95.[12]
-# 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.[12])
- 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)