diff options
author | kris <kris@FreeBSD.org> | 2003-10-19 16:59:55 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-10-19 16:59:55 +0800 |
commit | 2b4d3637bf519720dede1024e33a037ebaa6ab03 (patch) | |
tree | ba7356273e6203ae040fb22311736d5ac60d3126 /devel/libds | |
parent | 8b3f89e06dd5c0e73dee77fc583a8ce69e302108 (diff) | |
download | freebsd-ports-gnome-2b4d3637bf519720dede1024e33a037ebaa6ab03.tar.gz freebsd-ports-gnome-2b4d3637bf519720dede1024e33a037ebaa6ab03.tar.zst freebsd-ports-gnome-2b4d3637bf519720dede1024e33a037ebaa6ab03.zip |
Respect CC and CFLAGS
Diffstat (limited to 'devel/libds')
-rw-r--r-- | devel/libds/files/patch-Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
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 |