pkgsrc/archivers/ha/patches/patch-ab
jlam 401d111532 Explode one big patch into several unidiff patches, honor CFLAGS passed
in from enviroment during build, and mark as USE_BUILDLINK_ONLY.
2001-07-15 11:49:41 +00:00

14 lines
374 B
Text

$NetBSD: patch-ab,v 1.1 2001/07/15 11:49:42 jlam Exp $
--- makefile.nix.orig Thu Jan 12 02:26:26 1995
+++ makefile.nix
@@ -23,8 +23,7 @@
CC = gcc
CPP = $(CC) -E
-CFLAGS = -Wall -O2 -c -I../$(MCH) -I../include
-LDFLAGS = -O2
+CFLAGS += -Wall -c -I../$(MCH) -I../include
MDEFINES = "CC=$(CC)" "CPP=$(CPP)" "CFLAGS=$(CFLAGS)" "DEFS=$(DEFS)"
SUBDIRS = c $(MCH) include