mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
29 lines
868 B
Plaintext
29 lines
868 B
Plaintext
--- Makefile.orig Tue Dec 29 03:57:35 1998
|
|
+++ Makefile Sun Apr 11 20:32:06 1999
|
|
@@ -8,12 +8,13 @@
|
|
# pick gcc if you'd rather , and/or do -g instead of -O if debugging
|
|
# debugging
|
|
# DFLAGS = -DTEST -DDEBUG
|
|
-CFLAGS =-O -Wall
|
|
+CFLAGS ?= -O
|
|
+CFLAGS += -Wall
|
|
XFLAGS = # xtra cflags, set by systype targets
|
|
XLIBS = # xtra libs if necessary?
|
|
# -Bstatic for sunos, -static for gcc, etc. You want this, trust me.
|
|
STATIC =
|
|
-CC = cc $(CFLAGS)
|
|
+CC ?= cc
|
|
LD = $(CC) -s # linker; defaults to stripped executables
|
|
o = o # object extension
|
|
CKTEMP_OBJS=check_tmp.o daemon.o list_utils.o usage.o
|
|
@@ -59,7 +60,8 @@
|
|
|
|
OpenBSD:
|
|
make -e $(ALL) $(MFLAGS) \
|
|
- XFLAGS='-DBSD -DREGEX -DREGCOMP_3C' CC="gcc $(CFLAGS)" STATIC=-static
|
|
+ XFLAGS='-DBSD -DREGEX -DREGCOMP_3C' CC="$(CC) $(CFLAGS)" \
|
|
+ STATIC=-static
|
|
|
|
generic:
|
|
make -e $(ALL) $(MFLAGS) \
|