Package: sl-modem / 2.9.11~20110321-11

use_CPPFLAGS.diff Patch series | download
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: