1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/archivers/lzo/files/patch-ac
Chris Piazza 56e65ea469 - Fix MASTER_SITES
- Remove CONFIGURE_ARGS that are already the default
- Support CFLAGS properly
- Add a file missing from PLISt
- Remove two unneeded patches (for libtool stuff)

PR:		14901
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-11-21 00:53:55 +00:00

42 lines
1.4 KiB
Plaintext

--- configure.orig Sat Nov 13 11:17:25 1999
+++ configure Sat Nov 13 11:23:32 1999
@@ -1141,9 +1141,9 @@
if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
+ CFLAGS="-g"
else
- CFLAGS="-O2"
+ CFLAGS=""
fi
else
GCC=
@@ -3036,7 +3036,7 @@
if test "$ac_cv_prog_gcc" = yes; then
mfx_save_cflags="$CFLAGS"
-CFLAGS="$CFLAGS -O2 -fschedule-insns -fschedule-insns2"
+CFLAGS="$CFLAGS -fschedule-insns -fschedule-insns2"
echo $ac_n "checking whether ${CC-cc} suffers the -fschedule-insns bug""... $ac_c" 1>&6
echo "configure:3042: checking whether ${CC-cc} suffers the -fschedule-insns bug" >&5
if eval "test \"`echo '$''{'mfx_cv_prog_gcc_bug_schedule_insns'+set}'`\" = set"; then
@@ -3079,7 +3079,7 @@
if test "$ac_cv_prog_gcc" = yes; then
mfx_save_cflags="$CFLAGS"
-CFLAGS="$CFLAGS -O2 -fstrength-reduce"
+CFLAGS="$CFLAGS -fstrength-reduce"
echo $ac_n "checking whether ${CC-cc} suffers the -fstrength-reduce bug""... $ac_c" 1>&6
echo "configure:3085: checking whether ${CC-cc} suffers the -fstrength-reduce bug" >&5
if eval "test \"`echo '$''{'mfx_cv_prog_gcc_bug_strength_reduce'+set}'`\" = set"; then
@@ -3167,7 +3167,7 @@
if test "$GCC" = yes; then
M_CC="GCC"
- CFLAGS_O="-O2"
+ CFLAGS_O=""
CFLAGS_W="-Wall -Wcast-align -Wwrite-strings"
case $host in
i[34567]86-*)