Mercurial > hg > CbC > CbC_gcc
comparison fixincludes/mkfixinc.sh @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | a06113de4d67 |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
9 machine=$1 | 9 machine=$1 |
10 target=fixinc.sh | 10 target=fixinc.sh |
11 | 11 |
12 # Check for special fix rules for particular targets | 12 # Check for special fix rules for particular targets |
13 case $machine in | 13 case $machine in |
14 alpha*-dec-*vms* | \ | |
15 i?86-moss-msdos* | \ | |
16 i?86-*-pe | \ | |
17 i?86-*-cygwin* | \ | 14 i?86-*-cygwin* | \ |
18 i?86-*-mingw32* | \ | 15 i?86-*-mingw32* | \ |
19 x86_64-*-mingw32* | \ | 16 x86_64-*-mingw32* | \ |
20 i?86-*-interix* | \ | |
21 *-*-vxworks* | \ | |
22 powerpc-*-eabisim* | \ | 17 powerpc-*-eabisim* | \ |
23 powerpc-*-eabi* | \ | 18 powerpc-*-eabi* | \ |
24 powerpc-*-rtems* | \ | 19 powerpc-*-rtems* | \ |
25 powerpcle-*-eabisim* | \ | 20 powerpcle-*-eabisim* | \ |
26 powerpcle-*-eabi* ) | 21 powerpcle-*-eabi* | \ |
22 *-musl* ) | |
27 # IF there is no include fixing, | 23 # IF there is no include fixing, |
28 # THEN create a no-op fixer and exit | 24 # THEN create a no-op fixer and exit |
29 (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} | 25 (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} |
30 ;; | 26 ;; |
31 | 27 |