aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-10-19 08:06:55 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-10-19 08:06:55 +0000
commitd4565ca2f2238f715096628739a55a97f7b5587a (patch)
tree862d5b49b0ce334c26fb4e3ef54bc4557ce71002 /archivers
parentb55e1ba4d554c8fd38b146480371bca2ae623a1d (diff)
downloadports-d4565ca2f2238f715096628739a55a97f7b5587a.tar.gz
ports-d4565ca2f2238f715096628739a55a97f7b5587a.zip
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=91622
Diffstat (limited to 'archivers')
-rw-r--r--archivers/nulib/files/patch-Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/archivers/nulib/files/patch-Makefile b/archivers/nulib/files/patch-Makefile
new file mode 100644
index 000000000000..68af0ecaa20e
--- /dev/null
+++ b/archivers/nulib/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- Makefile.orig Sun Oct 19 01:04:35 2003
++++ Makefile Sun Oct 19 01:04:55 2003
+@@ -36,16 +36,15 @@
+ # HPUX cc (v10.10)
+ #
+
+-CC = cc
++CC ?= cc
+
+ # Select appropriate flag... -g for debugging, -O for optimized.
+ #OPTIMIZE = -g
+ #OPTIMIZE = -p
+-OPTIMIZE = -O
+ GCC_PARANOIA = -Wall -Wtraditional \
+ -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
+ DEFINES =
+-CFLAGS = $(DEFINES) $(OPTIMIZE) $(EFT) # $(GCC_PARANOIA)
++CFLAGS += $(DEFINES) $(EFT) # $(GCC_PARANOIA)
+
+ LDFLAGS =
+ LIBS =