b091d23685
Teach libtool 2.4.2 how to pass -fstack-protector* to the linker so libssp is properly linked in on some toolchains. See upstream patch: https://github.com/instantinfrastructure/poky-daisy/blob/master/meta/recipes-devtools/libtool/libtool/respect-fstack-protector.patch Thanks to kinichiro inoguchi
12 lines
263 B
Bash
Executable File
12 lines
263 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
./update.sh
|
|
mkdir -p m4
|
|
autoreconf -i -f
|
|
|
|
# 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
|