Differences From Artifact [90dbaeeee6]:
- Executable file build/pre.sh — part of check-in [f0f28f847f] at 2016-03-28 14:42:55 on branch trunk — Updated to not keep backup files when patching (user: rkeene, size: 1212) [annotate] [blame] [check-ins using]
To Artifact [8826309083]:
- Executable file build/pre.sh — part of check-in [7cda94da9b] at 2016-12-09 05:22:33 on branch trunk — Updated with a better check for -Wno-unused-result for TCC (user: rkeene, size: 1335) [annotate] [blame] [check-ins using]
| ︙ | |||
40 41 42 43 44 45 46 47 48 49 | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | + + + - + |
rm -f "tcc-${tcc_version}.tar.bz2"
## Apply patches
for patchfile in ../build/tcc-patches/${tcc_version}/*.diff; do
( cd * && patch --no-backup-if-mismatch -p1 ) < "${patchfile}"
done
## Rename "Makefile" to "Makefile.in" so configure processes it
( cd * && mv Makefile Makefile.in ) || exit 1
rm -rf ../tcc
mkdir ../tcc || exit 1
mv */* ../tcc/
|