File: 03_fix_makefile_cppflags.patch

package info (click to toggle)
fspy 0.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 728 kB
  • sloc: ansic: 1,425; makefile: 41
file content (16 lines) | stat: -rw-r--r-- 607 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix Makefile added CPPFLAGS.
Author: Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net>
Last-Update: 2020-05-19
Index: fspy/Makefile
===================================================================
--- fspy.orig/Makefile
+++ fspy/Makefile
@@ -23,7 +23,7 @@ $(PROG): $(OBJS)
 	$(LD) $(LDFLAGS) $(DFLAGS) $(DEBUG) $(OPTS) $(OBJS) -o $(PROG)
 
 $(ODIR)%.o: $(SDIR)%.c
-	$(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) $(DEBUG) $(OPTS) -c $< -o $(ODIR)$*.o
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DFLAGS) $(DEBUG) $(OPTS) -c $< -o $(ODIR)$*.o
 
 install:
 	cp $(PROG) $(INSTBINDIR)/$(PROG)