File tree 2 files changed +563
-177
lines changed
2 files changed +563
-177
lines changed Original file line number Diff line number Diff line change 4
4
5
5
# shellcheck disable=SC2006,SC2268 # see below for rationale
6
6
7
- timestamp=' 2024-01-01 '
7
+ timestamp=' 2024-07-27 '
8
8
9
9
# This file is free software; you can redistribute it and/or modify it
10
10
# under the terms of the GNU General Public License as published by
@@ -123,7 +123,7 @@ set_cc_for_build() {
123
123
dummy=$tmp /dummy
124
124
case ${CC_FOR_BUILD-} ,${HOST_CC-} ,${CC-} in
125
125
,,) echo " int x;" > " $dummy .c"
126
- for driver in cc gcc c89 c99 ; do
126
+ for driver in cc gcc c17 c99 c89 ; do
127
127
if ($driver -c -o " $dummy .o" " $dummy .c" ) > /dev/null 2>&1 ; then
128
128
CC_FOR_BUILD=$driver
129
129
break
634
634
sed ' s/^ //' << EOF > "$dummy .c"
635
635
#include <sys/systemcfg.h>
636
636
637
- main()
637
+ int
638
+ main ()
638
639
{
639
640
if (!__power_pc())
640
641
exit(1);
718
719
#include <stdlib.h>
719
720
#include <unistd.h>
720
721
721
- int main ()
722
+ int
723
+ main ()
722
724
{
723
725
#if defined(_SC_KERNEL_BITS)
724
726
long bits = sysconf(_SC_KERNEL_BITS);
@@ -1621,6 +1623,7 @@ cat > "$dummy.c" <<EOF
1621
1623
#endif
1622
1624
#endif
1623
1625
#endif
1626
+ int
1624
1627
main ()
1625
1628
{
1626
1629
#if defined (sony)
You can’t perform that action at this time.
0 commit comments