summaryrefslogtreecommitdiff
path: root/network/ckermit/makefile-use-custom-cflags.diff
diff options
context:
space:
mode:
authorAndrew Rowland <darowland@ieee.org>2012-02-19 14:37:59 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-02-20 12:20:46 -0600
commit68863f69bf98f108f346343caf4cc88430dc69f4 (patch)
tree3624cb007bb92ed038b029c828c012237332de39 /network/ckermit/makefile-use-custom-cflags.diff
parentfe3095faf885d66e39a7cf0ff242dce6b3353aef (diff)
downloadslackbuilds-68863f69bf98f108f346343caf4cc88430dc69f4.tar.gz
network/ckermit: Added (network and serial communication software)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/ckermit/makefile-use-custom-cflags.diff')
-rw-r--r--network/ckermit/makefile-use-custom-cflags.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/network/ckermit/makefile-use-custom-cflags.diff b/network/ckermit/makefile-use-custom-cflags.diff
new file mode 100644
index 0000000000..04611b0113
--- /dev/null
+++ b/network/ckermit/makefile-use-custom-cflags.diff
@@ -0,0 +1,12 @@
+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: