configure.in: strict warnflags
* configure.in (strict_warnflags): separate strict flags from warnflags only for core. [ruby-dev:46105] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
057b1986a4
commit
4a906510a2
@ -1,3 +1,8 @@
|
|||||||
|
Sun Sep 16 08:57:52 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (strict_warnflags): separate strict flags from
|
||||||
|
warnflags only for core. [ruby-dev:46105]
|
||||||
|
|
||||||
Sun Sep 16 08:16:05 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Sep 16 08:16:05 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* .editorconfig: add. [ruby-core:47548] [Feature #7030]
|
* .editorconfig: add. [ruby-core:47548] [Feature #7030]
|
||||||
|
@ -56,7 +56,7 @@ CFLAGS = @CFLAGS@ $(ARCH_FLAG)
|
|||||||
cflags = @cflags@
|
cflags = @cflags@
|
||||||
optflags = @optflags@
|
optflags = @optflags@
|
||||||
debugflags = @debugflags@
|
debugflags = @debugflags@
|
||||||
warnflags = @warnflags@
|
warnflags = @warnflags@ @strict_warnflags@
|
||||||
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir)
|
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir)
|
||||||
XCFLAGS = @XCFLAGS@
|
XCFLAGS = @XCFLAGS@
|
||||||
CPPFLAGS = @CPPFLAGS@ $(INCFLAGS)
|
CPPFLAGS = @CPPFLAGS@ $(INCFLAGS)
|
||||||
|
@ -630,8 +630,7 @@ if test "$GCC" = yes; then
|
|||||||
[
|
[
|
||||||
# ANSI (no XCFLAGS because this is C only)
|
# ANSI (no XCFLAGS because this is C only)
|
||||||
RUBY_TRY_CFLAGS(-ansi -std=iso9899:199409, [
|
RUBY_TRY_CFLAGS(-ansi -std=iso9899:199409, [
|
||||||
RUBY_APPEND_OPTION(warnflags, -ansi -std=iso9899:199409)
|
RUBY_APPEND_OPTION(strict_warnflags, -ansi -std=iso9899:199409)
|
||||||
RUBY_APPEND_OPTION(rb_cv_warnflags, -ansi -std=iso9899:199409)
|
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
@ -2956,6 +2955,7 @@ AC_SUBST(cxxflags, ["$orig_cxxflags "'${optflags} ${debugflags} ${warnflags}'])d
|
|||||||
AC_SUBST(optflags)dnl
|
AC_SUBST(optflags)dnl
|
||||||
AC_SUBST(debugflags)dnl
|
AC_SUBST(debugflags)dnl
|
||||||
AC_SUBST(warnflags)dnl
|
AC_SUBST(warnflags)dnl
|
||||||
|
AC_SUBST(strict_warnflags)dnl
|
||||||
AC_SUBST(XCFLAGS)dnl
|
AC_SUBST(XCFLAGS)dnl
|
||||||
AC_SUBST(XLDFLAGS)dnl
|
AC_SUBST(XLDFLAGS)dnl
|
||||||
AC_SUBST(EXTLDFLAGS)dnl
|
AC_SUBST(EXTLDFLAGS)dnl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user