mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
15 lines
292 B
Plaintext
15 lines
292 B
Plaintext
|
|
$FreeBSD$
|
|
|
|
--- Makefile.rules
|
|
+++ Makefile.rules
|
|
@@ -18,7 +18,7 @@
|
|
$(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 $@
|
|
|