mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
26fd302372
Reviewed by: Maintainer
29 lines
821 B
Plaintext
29 lines
821 B
Plaintext
--- Makefile.orig Thu Sep 23 10:18:18 1999
|
|
+++ Makefile Sat Dec 4 00:53:05 1999
|
|
@@ -9,12 +9,13 @@
|
|
# debugging
|
|
# DFLAGS = -DTEST -DDEBUG
|
|
DFLAGS = -DREGEX
|
|
-CFLAGS =-O -Wall
|
|
+CFLAGS ?=-O -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
|
|
+CC += $(CFLAGS)
|
|
LD = $(CC) -s # linker; defaults to stripped executables
|
|
o = o # object extension
|
|
CKTEMP_OBJS=check_tmp.o daemon.o list_utils.o usage.o
|
|
@@ -60,7 +61,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) \
|