respect CFLAGS

This commit is contained in:
wilfried 2001-03-17 15:47:59 +00:00
parent b4ca092a9e
commit 35ad52cb4a
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2001/03/17 15:52:16 wilfried Exp $
--- configure.orig Sat Sep 25 08:31:26 1999
+++ configure Thu Mar 15 20:55:43 2001
@@ -1158,7 +1158,7 @@ else
fi
-CFLAGS=""
+# CFLAGS=""
IMCFLAGS=""
IMLIBS=""

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure_in,v 1.1 2001/03/17 15:52:16 wilfried Exp $
--- configure.in.orig Sat Sep 25 08:30:30 1999
+++ configure.in Thu Mar 15 20:55:16 2001
@@ -13,7 +13,7 @@ AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_RANLIB
-CFLAGS=""
+dnl CFLAGS=""
IMCFLAGS=""
IMLIBS=""

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2001/03/17 15:47:59 wilfried Exp $
--- src/Makefile.in.orig Thu Sep 17 21:37:05 1998
+++ src/Makefile.in Fri Mar 16 20:29:27 2001
@@ -60,7 +60,7 @@ DEFINES=-DSYSTEMRC=\"$(SYSTEMRC)\" -DUSE
-DREPL_EXT=\"$(REPL_EXT)\" -DUNKNOWN_CHAR=\'$(UNKNOWN_CHAR)\'\
-DSOURCE_CHARSET=\"$(SOURCE_CHARSET)\" -DTARGET_CHARSET=\"$(TARGET_CHARSET)\"
-CFLAGS=$(FLAGS) $(DEFINES)
+CFLAGS=@CFLAGS@ $(DEFINES)
OBJ=catdoc.o charsets.o substmap.o reader.o writer.o fileutil.o
#.c.o:
# $(CC) -c $(CFLAGS) $*

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-protoMakefile,v 1.1 2001/03/17 15:49:09 wilfried Exp $
--- protoMakefile.orig Thu Feb 24 06:15:08 2000
+++ protoMakefile Fri Mar 16 20:31:55 2001
@@ -93,7 +93,7 @@ E =
OBJS = buffer$O charset$O errmsg$O par$O reformat$O
.c$O:
- $(CC) $<
+ $(CC) ${CFLAGS} $<
par$E: $(OBJS)
$(LINK1) $(OBJS) $(LINK2) par$E