File: use_CPPFLAGS.diff

package info (click to toggle)
sl-modem 2.9.11~20110321-21
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 3,728 kB
  • sloc: ansic: 11,041; sh: 808; makefile: 268; python: 40; perl: 11
file content (13 lines) | stat: -rw-r--r-- 392 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Use CPPFLAGS for building slmodemd
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
--- a/modem/Makefile
+++ b/modem/Makefile
@@ -62,7 +62,7 @@
 #
 
 %.o: %.c .build_profile
-	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -o $@ -c $<
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -o $@ -c $<
 
 dep: generic-dep
 generic-dep: