Logo
Explore Help
Sign In
factotum/libressl-portable
1
Fork 0
You've already forked libressl-portable
Code Issues Pull Requests Packages Projects Releases Wiki Activity
libressl-portable/autogen.sh

16 lines
374 B
Bash
Raw Normal View History

initial top-level import
2014-07-10 06:07:09 -05:00
#!/bin/sh
set -e
./update.sh
mkdir -p m4
autoreconf -i -f
fix libtool 2.4.2 stack-protector flag handling 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
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
add upstream config.guess/config.sub This adds refreshed OS and CPU detection. https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html
2015-12-27 22:17:59 -06:00
# Update config scripts and fixup permissions
-path isn't really needed for perms fixup, and not supported everywhere
2016-01-03 18:55:04 -06:00
find . ! -perm -u=w -exec chmod u+w {} \;
add upstream config.guess/config.sub This adds refreshed OS and CPU detection. https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html
2015-12-27 22:17:59 -06:00
cp scripts/config.* .
Reference in New Issue Copy Permalink
Powered by Gitea
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API