From d4788043a63ef9283977820ebeb919278611e7b7 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Thu, 23 Oct 2003 00:01:04 +0000 Subject: Respect CC and CFLAGS --- graphics/fly/files/patch-Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 graphics/fly/files/patch-Makefile (limited to 'graphics/fly') diff --git a/graphics/fly/files/patch-Makefile b/graphics/fly/files/patch-Makefile new file mode 100644 index 000000000000..f756894b3aba --- /dev/null +++ b/graphics/fly/files/patch-Makefile @@ -0,0 +1,22 @@ +--- Makefile.orig Wed Oct 22 16:52:11 2003 ++++ Makefile Wed Oct 22 16:53:04 2003 +@@ -5,15 +5,16 @@ + # following line + # GD = /path/to/gd/directory + GD = gd1.3 +- CC = gcc +- CFLAGS = -O -I$(GD) ++ CC ?= cc ++ CFLAGS ?= -O -pipe ++ CFLAGS += -I$(GD) + #CFLAGS = -O -pedantic -Wall -I$(GD) + LIBS = -L$(GD) -lgd -lm + + all: gd fly + + gd: $(GD) +- cd $(GD); make CC=$(CC) ++ cd $(GD); make CC="$(CC)" CFLAGS="$(CFLAGS)" + + + fly.o: fly.c fly.h -- cgit v1.2.3