summaryrefslogtreecommitdiff
path: root/devel/zlib/patches/patch-aa
blob: 4b4731a9206cecbc55994ee45c93b21d88a76dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.3 2003/03/05 13:05:45 salo Exp $

--- lt.mk.orig	2003-03-05 04:17:05.000000000 +0100
+++ lt.mk	2003-03-05 04:18:44.000000000 +0100
@@ -10,6 +10,7 @@
 	zutil.c
 
 CPPFLAGS+= -I${.CURDIR}
+CFLAGS=
 
 CLEANFILES+= minigzip
 
@@ -34,7 +35,7 @@
 
 .SUFFIXES: .lo .c
 .c.lo:
-	${LIBTOOL} ${CC} -c $*.c
+	${LIBTOOL} ${CC} ${CFLAGS} -c $*.c
 lib${LIB}.la: ${SRCS:.c=.lo}
 	${LIBTOOL} ${CC} -o lib${LIB}.la ${SRCS:.c=.lo} \
 		-rpath ${LIBDIR} \