Enable user's CFLAGS and CC environments.

Submitted by:	Christian Weisgerber and the maintainer
This commit is contained in:
SADA Kenji 1999-10-11 19:00:30 +00:00
parent ea676b6c0a
commit 4bea64d8d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22357
2 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,5 @@
--- config.h.orig Tue Sep 28 10:58:56 1999
+++ config.h Fri Oct 8 02:26:28 1999
--- config.h.orig Tue Sep 28 03:58:56 1999
+++ config.h Mon Oct 11 17:35:48 1999
@@ -28,13 +28,13 @@
/**********************************************************/
#ifdef makefile_parameter
@ -13,8 +13,9 @@
+HELP_FILE = w3mhelp_en.html
+SYS_LIBRARIES = -ltermcap
LOCAL_LIBRARIES =
CC = gcc
-CC = gcc
-MYCFLAGS = -g -I./gc
+#CC = gcc
+MYCFLAGS = -I./gc
KEYBIND_SRC = keybind.c
KEYBIND_OBJ = keybind.o

11
www/w3m/files/patch-ae Normal file
View File

@ -0,0 +1,11 @@
--- XMakefile.orig Tue Sep 28 04:00:53 1999
+++ XMakefile Mon Oct 11 17:35:10 1999
@@ -15,7 +15,7 @@
INCLUDES=-I.
DEFS=$(INCLUDES) #-DSTR_DEBUG # -DDEBUG
-CFLAGS=$(MYCFLAGS) $(DEFS)
+CFLAGS+=$(MYCFLAGS) $(DEFS)
LIBS=$(GCLIB) -lm $(LOCAL_LIBRARIES) $(SYS_LIBRARIES)
$(TARGET): $(ALLOBJS) $(GCTARGET)