2014-07-10 13:07:09 +02:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
./update.sh
|
|
|
|
mkdir -p m4
|
|
|
|
autoreconf -i -f
|
2015-06-14 05:26:58 +02: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-28 05:17:59 +01:00
|
|
|
|
|
|
|
# Update config scripts and fixup permissions
|
2016-01-04 01:55:04 +01:00
|
|
|
find . ! -perm -u=w -exec chmod u+w {} \;
|
2015-12-28 05:17:59 +01:00
|
|
|
cp scripts/config.* .
|