aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/nulib
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-10-19 16:06:55 +0800
committerkris <kris@FreeBSD.org>2003-10-19 16:06:55 +0800
commitc3ef7d8ccfbacaa49c4f45c1d02b3ef569c37704 (patch)
tree849311025075abc6dfd3e60151a2eca82e0d0251 /archivers/nulib
parent93de374aa2e695d5d2fced01731a8f4db9391adc (diff)
downloadfreebsd-ports-gnome-c3ef7d8ccfbacaa49c4f45c1d02b3ef569c37704.tar.gz
freebsd-ports-gnome-c3ef7d8ccfbacaa49c4f45c1d02b3ef569c37704.tar.zst
freebsd-ports-gnome-c3ef7d8ccfbacaa49c4f45c1d02b3ef569c37704.zip
Respect CC and CFLAGS
Diffstat (limited to 'archivers/nulib')
-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 =