diff options
author | kris <kris@FreeBSD.org> | 1999-04-13 11:47:00 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 1999-04-13 11:47:00 +0000 |
commit | 8a95406899053ec10e93215c0106684535e04128 (patch) | |
tree | aeffb9abaf58e280bff7d35f1d7257ca59100c69 /misc | |
parent | 34782392843dfec0c1d9873ca20e71c4037ed047 (diff) | |
download | FreeBSD-ports-8a95406899053ec10e93215c0106684535e04128.zip FreeBSD-ports-8a95406899053ec10e93215c0106684535e04128.tar.gz |
Respect CC and CFLAGS.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bb/files/patch-ab | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/misc/bb/files/patch-ab b/misc/bb/files/patch-ab new file mode 100644 index 0000000..54eadd7 --- /dev/null +++ b/misc/bb/files/patch-ab @@ -0,0 +1,30 @@ +--- mikunix/makefile.orig Mon Mar 2 07:12:26 1998 ++++ mikunix/makefile Mon Apr 12 20:49:06 1999 +@@ -26,7 +26,7 @@ + ############################################################################ + + OSDEF=-DOSS +-CC = gcc ++CC ?= gcc + + # if you want to use the Ultra driver uncomment the 3 lines below. + # You need a Gravis Ultrasound and the library from the Linux Ultrasound +@@ -41,7 +41,8 @@ + #ULTRADRV=drv_old.o + + #OSFLAGS = -O3 $(OSDEF) $(ULTRA) +-OSFLAGS = -O3 $(OSDEF) ++CFLAGS ?= -O3 ++OSFLAGS = $(OSDEF) + #debug options + #OSFLAGS = -g $(OSDEF) $(ULTRA) + +@@ -174,7 +175,7 @@ + # Does your system have usleep()? If not, you'll need to uncomment this... + #USLEEP=-DNEEDS_USLEEP + +-CFLAGS = $(OSFLAGS) $(SNAG) $(USLEEP) ++CFLAGS += $(OSFLAGS) $(SNAG) $(USLEEP) + + ############################################################################ + ############################################################################ |