mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (CFLAGS, CXXFLAGS): append default flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c7144179bb
commit
126abc5c47
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Jun 7 16:06:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (CFLAGS, CXXFLAGS): append default flags.
|
||||
|
||||
Sat Jun 7 01:23:59 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.
|
||||
|
|
|
@ -178,8 +178,6 @@ dnl Checks for programs.
|
|||
|
||||
: ${CFLAGS=} ${cflags='${optflags} ${debugflags} ${warnflags}'}
|
||||
: ${CXXFLAGS=} ${cxxflags='${optflags} ${debugflags} ${warnflags}'}
|
||||
CFLAGS="${CFLAGS} `eval echo $cflags`"
|
||||
CXXFLAGS="${CXXFLAGS} `eval echo $cxxflags`"
|
||||
if test x"${build}" != x"${host}"; then
|
||||
AC_CHECK_TOOL(CC, gcc)
|
||||
fi
|
||||
|
@ -193,6 +191,8 @@ if test "$GCC" = yes; then
|
|||
else
|
||||
linker_flag=
|
||||
fi
|
||||
CFLAGS="${CFLAGS} `eval echo $cflags`"
|
||||
CXXFLAGS="${CXXFLAGS} `eval echo $cxxflags`"
|
||||
|
||||
RUBY_PROG_GNU_LD
|
||||
RUBY_CPPOUTFILE
|
||||
|
|
Loading…
Reference in a new issue