diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-27 14:58:34 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-27 15:00:19 +0900 |
commit | c736714de11f9d8dd90cb5f4d6b39fd73054aabc (patch) | |
tree | baf6f97ea50a397511a3cf1275acd6b299e3b77c | |
parent | 0d5a4d6d4973af3dfbdb19c965efe6c86dbdd8ad (diff) |
Clear unexpanded `mjit_std_cflag`
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 371cbf3da0..60f57e461d 100644 --- a/configure.ac +++ b/configure.ac @@ -2718,9 +2718,9 @@ AC_SUBST(ARCH_FLAG)dnl 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 |