From d7fe414482dff66c41b46b8fc2207df1b68b2ecd Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 19 Oct 2003 08:59:55 +0000 Subject: Respect CC and CFLAGS --- devel/libds/files/patch-Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 devel/libds/files/patch-Makefile (limited to 'devel/libds') diff --git a/devel/libds/files/patch-Makefile b/devel/libds/files/patch-Makefile new file mode 100644 index 000000000000..90e1ca220b18 --- /dev/null +++ b/devel/libds/files/patch-Makefile @@ -0,0 +1,22 @@ +--- Makefile.orig Sun Oct 19 01:56:50 2003 ++++ Makefile Sun Oct 19 01:56:43 2003 +@@ -5,8 +5,8 @@ + # Makefile for LibDS 2.0 + # + +-CC = cc +-CCOPTFLAGS = -O2 ++CC ?= cc ++CCOPTFLAGS = $(CFLAGS) + + CCEXTRAFLAGS = -DStandAlone + +@@ -42,7 +42,7 @@ + $(TARGET) + + gcc: +- @-$(MAKE) CC="gcc -pipe" CCWARNFLAGS="-Wall -W -Wshadow \ ++ @-$(MAKE) CC=$(CC) CCWARNFLAGS="-Wall -W -Wshadow \ + -Wnested-externs -Wwrite-strings -Wpointer-arith \ + -Wmissing-declarations -Wredundant-decls -Winline \ + -Wstrict-prototypes" SHARED="-shared" release -- cgit v1.2.3