- honor CC,CFLAGS,LD,LDFLAGS

This commit is contained in:
Dirk Meyer 2011-06-24 17:46:36 +00:00
parent de77fc3ee4
commit 67c4281970
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276205
2 changed files with 22 additions and 2 deletions

View file

@ -1,3 +1,2 @@
MD5 (pgp263in010323.tgz) = b8a30328c1d3f2e40516e78ab1bdc3b2
SHA256 (pgp263in010323.tgz) = a2abfb1f196ba40b6990c9a97a3dba5e540697f8a217a8b9907ecbc712ccf48a
SIZE (pgp263in010323.tgz) = 624606

View file

@ -1,5 +1,26 @@
--- makefile.orig 2001-03-23 11:44:58.000000000 +0100
+++ makefile 2010-03-18 16:58:27.000000000 +0100
+++ makefile 2011-06-24 19:39:57.000000000 +0200
@@ -50,15 +50,15 @@
# -DUSE_SELECT to use select() system call
# -DUSE_NBIO to use non-blocking read()
-CFLAGS= -O -DUNIX -DPORTABLE $(BYTEORDER)
+CFLAGS+= -O -DUNIX -DPORTABLE $(BYTEORDER)
# must set byte order for targets "sysv" and "bsd"
# BYTEORDER= -DHIGHFIRST
-CC = cc
-LD = cc # Link command
-LDFLAGS =
-CPP = $(CC) -E
+CC ?= cc
+LD ?= cc # Link command
+LDFLAGS ?=
+CPP ?= $(CC) -E
DBG = -O
RM = rm -f
@@ -79,7 +79,8 @@
@echo "where <system> can be:"
@echo " 386bsd, 3b1, 3b1_asm, aix370, aix386, amix-68k-gcc, apollo,"