append_cflags: checking for whether -std=gnu99 is accepted as CFLAGS... -------------------- yes

DYLD_LIBRARY_PATH=.:../../../../.. ASAN_OPTIONS=detect_leaks=0 "clang -o conftest -I../../../../../.ext/include/arm64-darwin24 -I../../../../.././include -I../../../../.././.bundle/gems/rbs-3.8.0/ext/rbs_extension -I../../../../../. -I../../../../.././.bundle/gems/rbs-3.8.0/ext/rbs_extension/../../include -I/opt/homebrew/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -I/opt/homebrew/include -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fno-common -pipe conftest.c -L. -L../../../../.. -L/opt/homebrew/lib -L. -L/opt/homebrew/lib  -Wl,-headerpad_max_install_names -fstack-protector-strong -L/opt/homebrew/lib  -arch arm64   -lruby.3.4-static -framework CoreFoundation -lgmp -ldl -lobjc -lpthread   -lpthread  "
ld: warning: ignoring duplicate libraries: '-lpthread'
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

DYLD_LIBRARY_PATH=.:../../../../.. ASAN_OPTIONS=detect_leaks=0 "clang -I../../../../../.ext/include/arm64-darwin24 -I../../../../.././include -I../../../../.././.bundle/gems/rbs-3.8.0/ext/rbs_extension -I../../../../../. -I../../../../.././.bundle/gems/rbs-3.8.0/ext/rbs_extension/../../include -I/opt/homebrew/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -I/opt/homebrew/include -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fno-common -pipe -arch arm64 -std=gnu99 -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

--------------------

extconf.h is:
/* begin */
1: #ifndef EXTCONF_H
2: #define EXTCONF_H
3: #endif
/* end */

