[前][次][番号順一覧][スレッド一覧]

ruby-changes:32180

From: nobu <ko1@a...>
Date: Tue, 17 Dec 2013 14:52:11 +0900 (JST)
Subject: [ruby-changes:32180] nobu:r44259 (trunk): configure.in: add $CPPFLAGS

nobu	2013-12-17 14:52:05 +0900 (Tue, 17 Dec 2013)

  New Revision: 44259

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44259

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

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 44258)
+++ configure.in	(revision 44259)
@@ -594,7 +594,7 @@ _PROBES https://github.com/ruby/ruby/blob/trunk/configure.in#L594
     @%:@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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]