summaryrefslogtreecommitdiff
path: root/sysutils/gpart/patches/patch-src_Makefile
blob: 72b23f736c146ef60f8439affb72be989bf8ca88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-src_Makefile,v 1.1 2014/02/16 16:59:37 wiedi Exp $

pass CFLAGS
--- src/Makefile.orig	2001-01-30 17:01:08.000000000 +0000
+++ src/Makefile
@@ -29,7 +29,7 @@ allsrc=Makefile $(src) $(hdr)
 all: $(prg)
 
 $(prg): $(obj)
-	$(CC) -o $@ $(LDFLAGS) $(obj) $(LIBS)
+	$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(obj) $(LIBS)
 
 install: $(prg)
 	$(INSTALL) -d $(bindir)