summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
author卜部昌平 <[email protected]>2023-08-25 12:19:13 +0900
committer卜部昌平 <[email protected]>2023-08-25 17:27:53 +0900
commitb88bdf1ebba52a447a39c1fee815dd55bd48ff9e (patch)
tree9fa39aa7d9aed27631a018ae7b7186558b3412b5 /include/ruby
parenteb57b6ba822f7027c215efe3543160d86be7fc5c (diff)
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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8274
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions