openbsd-ports/shells/nsh/patches/patch-Makefile

14 lines
647 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2013/08/15 14:45:34 sthen Exp $
--- Makefile.orig Sun Feb 10 18:36:49 2013
+++ Makefile Thu Aug 15 15:44:35 2013
@@ -3,7 +3,8 @@ PROG= nsh
# For use with flashrd:
#CFLAGS=-O -DDHCPLEASES=\"/flash/dhcpd.leases\" -Wmissing-prototypes -Wformat -Wall -Wpointer-arith -Wbad-function-cast #-W
-CFLAGS=-O -Wmissing-prototypes -Wformat -Wall -Wpointer-arith -Wbad-function-cast #-W
+CFLAGS?=-O
+CFLAGS+=-Wmissing-prototypes -Wformat -Wall -Wpointer-arith -Wbad-function-cast #-W
SRCS=arp.c compile.c main.c genget.c commands.c stats.c kroute.c
SRCS+=ctl.c show.c if.c version.c route.c conf.c complete.c ieee80211.c