slackbuilds_ponce/network/ckermit/makefile-use-custom-cflags.diff

13 lines
332 B
Diff
Raw Normal View History

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: