summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>1999-04-13 11:47:00 +0000
committerKris Kennaway <kris@FreeBSD.org>1999-04-13 11:47:00 +0000
commit52cfa1e427121773981ffcf147550e35f5b398ee (patch)
treec4f68982dacd3b6f0aa106c1c02938127aaf1619 /misc
parentUpgrade to v2.1.1 (diff)
Respect CC and CFLAGS.
Notes
Notes: svn path=/head/; revision=17834
Diffstat (limited to 'misc')
-rw-r--r--misc/bb/files/patch-ab30
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 000000000000..54eadd76b160
--- /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)
+
+ ############################################################################
+ ############################################################################