summaryrefslogtreecommitdiff
path: root/net/opensips31/files/patch-Makefile.rules
blob: 01ba1853f09a962d8ccb2b32cb7cb19260ebb9f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Makefile.rules.orig	2020-07-22 09:42:09 UTC
+++ Makefile.rules
@@ -27,7 +27,7 @@ endif
 	$(Q)$(CC) $(CFLAGS) $(DEFS) -c $< -o $@
 
 %.d: %.c $(ALLDEP)
-	@set -e; $(MKDEP) $(DEFS) $< \
+	@set -e; $(MKDEP) $(CFLAGS) $(DEFS) $< \
 	|  sed 's#\(\($*D)\)\?$(*F)\)\.o[ :]*#$*.o $@ : #g' > $@; \
 	[ -s $@ ] || rm -f $@