2014-07-10 06:07:09 -05:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
./update.sh
|
|
|
|
mkdir -p m4
|
|
|
|
autoreconf -i -f
|
2015-06-13 22:26:58 -05:00
|
|
|
|
|
|
|
# Patch libtool 2.4.2 to pass -fstack-protector as a linker argument
|
|
|
|
sed 's/-fuse-linker-plugin)/-fuse-linker-plugin|-fstack-protector*)/' \
|
|
|
|
ltmain.sh > ltmain.sh.fixed
|
|
|
|
mv -f ltmain.sh.fixed ltmain.sh
|
2015-12-27 22:17:59 -06:00
|
|
|
|
|
|
|
# Update config scripts and fixup permissions
|
2016-01-03 18:55:04 -06:00
|
|
|
find . ! -perm -u=w -exec chmod u+w {} \;
|
2015-12-27 22:17:59 -06:00
|
|
|
cp scripts/config.* .
|