Skip to content

Commit 060ae17

Browse files
committed
CPPFLAGS is needed for dtrace not only INCFLAGS
1 parent 84f0d2d commit 060ae17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ _PREFIXED_SYMBOL = TOKEN_PASTE($(SYMBOL_PREFIX),name)
474474

475475
.d.h:
476476
@$(ECHO) translating probes $<
477-
$(Q) $(DTRACE) -o $@.tmp -h -C $(INCFLAGS) -s $<
477+
$(Q) $(DTRACE) -o $@.tmp -h -C $(INCFLAGS) $(CPPFLAGS) -s $<
478478
$(Q) sed -e 's/RUBY_/RUBY_DTRACE_/g' -e 's/PROBES_H_TMP/RUBY_PROBES_H/' -e 's/(char \*/(const char */g' -e 's/, char \*/, const char */g' $@.tmp > $@
479479
$(Q) $(RM) $@.tmp
480480

0 commit comments

Comments
 (0)