mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
Includes additional changes on top of submitters patch to improve port PR: 253844 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D31765
11 lines
319 B
Text
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 $@
|
|
|