ruby-changes:65063
From: Nobuyoshi <ko1@a...>
Date: Wed, 27 Jan 2021 15:01:05 +0900 (JST)
Subject: [ruby-changes:65063] c736714de1 (master): Clear unexpanded `mjit_std_cflag`
https://git.ruby-lang.org/ruby.git/commit/?id=c736714de1 From c736714de11f9d8dd90cb5f4d6b39fd73054aabc Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 27 Jan 2021 14:58:34 +0900 Subject: Clear unexpanded `mjit_std_cflag` --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 371cbf3..60f57e4 100644 --- a/configure.ac +++ b/configure.ac @@ -2718,9 +2718,9 @@ AC_SUBST(ARCH_FLAG)dnl https://github.com/ruby/ruby/blob/trunk/configure.ac#L2718 AC_SUBST(MJIT_HEADER_FLAGS)dnl AC_SUBST(MJIT_HEADER_INSTALL_DIR)dnl AC_SUBST(MJIT_CC)dnl -AS_IF([test "$GCC" = "yes"], [ - AS_CASE(["$target_os"],[aix*],[mjit_std_cflag="-std=gnu99"]) -]) +AS_CASE(["$GCC:$target_os"], + [yes:aix*], [mjit_std_cflag="-std=gnu99"], + [mjit_std_cflag=]) AC_SUBST(MJIT_CFLAGS, [${MJIT_CFLAGS-"-w ${mjit_std_cflag} ${orig_cflags}"}])dnl AC_SUBST(MJIT_OPTFLAGS, [${MJIT_OPTFLAGS-'$(optflags)'}])dnl AC_SUBST(MJIT_DEBUGFLAGS, [${MJIT_DEBUGFLAGS-'$(debugflags)'}])dnl -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/