diff options
author | kris <kris@FreeBSD.org> | 2003-10-19 16:45:27 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-10-19 16:45:27 +0800 |
commit | 56aeb1d353caa7bdba5b28d2e06dff5a52cc0b02 (patch) | |
tree | 66db362b2d3683b856d9d9c5807ba675b0d58426 /devel/avltree | |
parent | 64a7f642500119e0ea1c3e720036235a6d8abd41 (diff) | |
download | freebsd-ports-gnome-56aeb1d353caa7bdba5b28d2e06dff5a52cc0b02.tar.gz freebsd-ports-gnome-56aeb1d353caa7bdba5b28d2e06dff5a52cc0b02.tar.zst freebsd-ports-gnome-56aeb1d353caa7bdba5b28d2e06dff5a52cc0b02.zip |
Respect CC and CFLAGS
Diffstat (limited to 'devel/avltree')
-rw-r--r-- | devel/avltree/files/patch-aa | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/devel/avltree/files/patch-aa b/devel/avltree/files/patch-aa index e457595e7505..3c3177637387 100644 --- a/devel/avltree/files/patch-aa +++ b/devel/avltree/files/patch-aa @@ -1,11 +1,42 @@ ---- Makefile.orig Sun Jan 23 15:00:51 2000 -+++ Makefile Sun Jan 23 15:00:56 2000 -@@ -3,7 +3,7 @@ +--- Makefile.orig Thu Jan 13 13:04:47 2000 ++++ Makefile Sun Oct 19 01:44:36 2003 +@@ -3,7 +3,8 @@ # Date created: 13 January 2000 # Whom: Bill Ross <bross@nas.nasa.gov> <ross@cgl.ucsf.edu> # -CC= cc -+CC?= cc ++CC?= cc ++CFLAGS?= -O -pipe all: libavltree.a +@@ -12,7 +13,7 @@ + strip libavltree.a + + avltree.o: avltree.c avltree.h +- $(CC) -c avltree.c ++ $(CC) $(CFLAGS) -c avltree.c + + install: libavltree.a + install -c libavltree.a $(PREFIX)/lib +@@ -25,16 +26,16 @@ + extras: test bench1 bench2 + + test: test.o libavltree.a +- $(CC) -o test test.o libavltree.a ++ $(CC) $(CFLAGS) -o test test.o libavltree.a + + bench1: avl_bench.o libavltree.a +- $(CC) -o bench1 avl_bench.o libavltree.a ++ $(CC) $(CFLAGS) -o bench1 avl_bench.o libavltree.a + + bench2: avl_bench.o db_avl.o +- $(CC) -o bench2 avl_bench.o db_avl.o ++ $(CC) $(CFLAGS) -o bench2 avl_bench.o db_avl.o + + bench3: avl_bench.o bp_avl.o +- $(CC) -o bench3 avl_bench.o bp_avl.o bplus.a ++ $(CC) $(CFLAGS) -o bench3 avl_bench.o bp_avl.o bplus.a + + # + ################## |