File tree Expand file tree Collapse file tree 2 files changed +563
-177
lines changed Expand file tree Collapse file tree 2 files changed +563
-177
lines changed Original file line number Diff line number Diff line change 44
55# shellcheck disable=SC2006,SC2268 # see below for rationale
66
7- timestamp=' 2024-01-01 '
7+ timestamp=' 2024-07-27 '
88
99# This file is free software; you can redistribute it and/or modify it
1010# under the terms of the GNU General Public License as published by
@@ -123,7 +123,7 @@ set_cc_for_build() {
123123 dummy=$tmp /dummy
124124 case ${CC_FOR_BUILD-} ,${HOST_CC-} ,${CC-} in
125125 ,,) echo " int x;" > " $dummy .c"
126- for driver in cc gcc c89 c99 ; do
126+ for driver in cc gcc c17 c99 c89 ; do
127127 if ($driver -c -o " $dummy .o" " $dummy .c" ) > /dev/null 2>&1 ; then
128128 CC_FOR_BUILD=$driver
129129 break
634634 sed ' s/^ //' << EOF > "$dummy .c"
635635 #include <sys/systemcfg.h>
636636
637- main()
637+ int
638+ main ()
638639 {
639640 if (!__power_pc())
640641 exit(1);
718719 #include <stdlib.h>
719720 #include <unistd.h>
720721
721- int main ()
722+ int
723+ main ()
722724 {
723725 #if defined(_SC_KERNEL_BITS)
724726 long bits = sysconf(_SC_KERNEL_BITS);
@@ -1621,6 +1623,7 @@ cat > "$dummy.c" <<EOF
16211623#endif
16221624#endif
16231625#endif
1626+ int
16241627main ()
16251628{
16261629#if defined (sony)
You can’t perform that action at this time.
0 commit comments