diff options
author | kris <kris@FreeBSD.org> | 2000-02-07 00:58:53 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-02-07 00:58:53 +0000 |
commit | 8862134e320f55e2ebebe6a4c8241bc3a459f9de (patch) | |
tree | ce0865bd4e3640b5c6d4126c8c649b25ebc5a7a2 | |
parent | ce674106fe357abae9d8be260f1d17d21950ab24 (diff) | |
download | FreeBSD-ports-8862134e320f55e2ebebe6a4c8241bc3a459f9de.zip FreeBSD-ports-8862134e320f55e2ebebe6a4c8241bc3a459f9de.tar.gz |
Respect CC
-rw-r--r-- | misc/bbjd/files/patch-aa | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/misc/bbjd/files/patch-aa b/misc/bbjd/files/patch-aa index fe17da4..ebd05b7 100644 --- a/misc/bbjd/files/patch-aa +++ b/misc/bbjd/files/patch-aa @@ -1,6 +1,14 @@ ---- Makefile.orig Mon Oct 26 05:47:44 1998 -+++ Makefile Sun Feb 14 17:39:37 1999 -@@ -13,8 +13,8 @@ +--- Makefile.orig Mon Oct 26 02:47:44 1998 ++++ Makefile Sun Feb 6 16:58:34 2000 +@@ -6,18 +6,18 @@ + OBJECTS = $(SOURCES:.c=.o) + + ######## compiler options ######## +-CC = gcc ++CC ?= gcc + LANG_OPTIONS = + WARN_OPTIONS = -Wall -Wtraditional -Wpointer-arith \ + -Wconversion -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wreturn-type \ -Wnested-externs -Wwrite-strings -Wcast-qual INCDIR = -I. -I/usr/include @@ -10,7 +18,11 @@ +CFLAGS+= $(DEFINES) $(LANG_OPTIONS) $(WARN_OPTIONS) $(INCDIR) ######## link options ######## - LD = gcc +-LD = gcc ++LD = $(CC) + LIBDIR = + LIBRARIES = #-lm + LDFLAGS = $(LIBDIR) @@ -36,7 +36,7 @@ %o: %c |