opnsense-ports/net/opensips31/files/patch-Makefile.rules
Franco Fichtner fb6cbfb5aa */*: sync with upstream
Taken from: FreeBSD
2021-09-07 11:59:45 +02:00

11 lines
319 B
Text

--- 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 $@