1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

configure.in: add $CPPFLAGS

* configure.in (RUBY_DTRACE_POSTPROCESS): $CPPFLAGS is also needed
  to compile.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-12-17 05:52:05 +00:00
parent 2f346cb1d5
commit 8859ff1d09

View file

@ -594,7 +594,7 @@ _PROBES
@%:@include "conftest_provider.h"
int main(void){ CONFTEST_FIRE(); return 0; }
_CONF
$CC $CFLAGS -c -o conftest.o conftest.c &&
$CC $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c &&
$DTRACE -G -s conftest_provider.d conftest.o 2>/dev/null
}; then
rb_cv_prog_dtrace_g=yes