0001-configure.in-fix-warnflags-being-empty.patch

patch to preserve warnflags across checks - Eric Wong, 03/04/2011 07:01 AM

Download (835 Bytes)

View differences:

configure.in
471 471
                             [wflag=-Wall])
472 472
    RUBY_TRY_CFLAGS($wflag, [warnflags="$wflag${warnflags+ $warnflags}"])
473 473
    # Disable warnflags while conftest. -Werror=* flags might make bad OS capability guess.
474
    rb_cv_warnflags="$rb_cv_warnflags $warnflags"
474 475
    warnflags=
475 476
fi
476 477
if test "$GCC" = yes; then
477
-