aboutsummaryrefslogtreecommitdiffstats
path: root/internal/encoding.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2023-08-25 12:19:13 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2023-08-25 17:27:53 +0900
commitb88bdf1ebba52a447a39c1fee815dd55bd48ff9e (patch)
tree9fa39aa7d9aed27631a018ae7b7186558b3412b5 /internal/encoding.h
parenteb57b6ba822f7027c215efe3543160d86be7fc5c (diff)
downloadruby-b88bdf1ebba52a447a39c1fee815dd55bd48ff9e.tar.gz
direct use of CFLAGS
Autoconf 2.71's `AC_PROG_CC` nukes `CC` variable, which we don't want. For instance a user could specify `--with-gcc="gcc -std=c99"` to _force_ C99 mode; but `AC_PROG_CC` just nulifies that `-std=c99` part. `AC_PROG_CC` is called everywhere from inside of autoconf itself via `AC_REQUIRE([AC_PROG_CC])`. It is not a wise idea to try avoiding this macro at all. We need to reroute `-std=` flags to somewhere else.
Diffstat (limited to 'internal/encoding.h')
0 files changed, 0 insertions, 0 deletions