ruby-changes:32176
From: nobu <ko1@a...>
Date: Tue, 17 Dec 2013 13:32:59 +0900 (JST)
Subject: [ruby-changes:32176] nobu:r44255 (trunk): Makefile.in, configure.in: cppflags
nobu 2013-12-17 13:32:51 +0900 (Tue, 17 Dec 2013) New Revision: 44255 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44255 Log: Makefile.in, configure.in: cppflags * Makefile.in, configure.in (cppflags): allow setting cppflags from the confiugre command line. Modified files: trunk/Makefile.in trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 44254) +++ configure.in (revision 44255) @@ -3555,7 +3555,7 @@ if test "${ARCH_FLAG}"; then https://github.com/ruby/ruby/blob/trunk/configure.in#L3555 LDFLAGS=`echo "$LDFLAGS" | sed "s| *$archflagpat"'||'` fi warnflags="$rb_cv_warnflags" -AC_SUBST(cppflags, [])dnl +AC_SUBST(cppflags)dnl AC_SUBST(cflags, ["$orig_cflags "'${optflags} ${debugflags} ${warnflags}'])dnl AC_SUBST(cxxflags, ["$orig_cxxflags "'${optflags} ${debugflags} ${warnflags}'])dnl AC_SUBST(optflags)dnl Index: Makefile.in =================================================================== --- Makefile.in (revision 44254) +++ Makefile.in (revision 44255) @@ -62,6 +62,7 @@ cflags = @cflags@ https://github.com/ruby/ruby/blob/trunk/Makefile.in#L62 optflags = @optflags@ debugflags = @debugflags@ warnflags = @warnflags@ @strict_warnflags@ +cppflags = @cppflags@ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir) XCFLAGS = @XCFLAGS@ CPPFLAGS = @CPPFLAGS@ $(INCFLAGS) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/