slackbuilds_ponce/network/ckermit/makefile-use-custom-cflags.diff
Andrew Rowland 68863f69bf network/ckermit: Added (network and serial communication software)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-02-20 12:20:46 -06:00

12 lines
332 B
Diff

diff -Nur a/makefile b/makefile
--- a/makefile 2011-08-21 10:12:07.000000000 -0500
+++ b/makefile 2012-02-19 14:35:22.961596650 -0600
@@ -982,7 +982,7 @@
all: $(ALL)
.c.o:
- $(CC) $(CFLAGS) -DKTARGET=\"$(KTARGET)\" -c $<
+ $(CC) $(CFLAGS) $(OPT) -DKTARGET=\"$(KTARGET)\" -c $<
#Clean up intermediate and object files
clean: