mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Makefile.in, configure.in: cppflags
* Makefile.in, configure.in (cppflags): allow setting cppflags from the confiugre command line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7c51c8fd17
commit
7a24660960
2 changed files with 2 additions and 1 deletions
|
@ -62,6 +62,7 @@ cflags = @cflags@
|
|||
optflags = @optflags@
|
||||
debugflags = @debugflags@
|
||||
warnflags = @warnflags@ @strict_warnflags@
|
||||
cppflags = @cppflags@
|
||||
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir)
|
||||
XCFLAGS = @XCFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@ $(INCFLAGS)
|
||||
|
|
|
@ -3555,7 +3555,7 @@ if test "${ARCH_FLAG}"; then
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue