From 8a95406899053ec10e93215c0106684535e04128 Mon Sep 17 00:00:00 2001 From: kris Date: Tue, 13 Apr 1999 11:47:00 +0000 Subject: Respect CC and CFLAGS. --- misc/bb/files/patch-ab | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 misc/bb/files/patch-ab (limited to 'misc') 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) + + ############################################################################ + ############################################################################ -- cgit v1.1