Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
393 B

  1. #!/bin/sh
  2. set -e
  3. ./update.sh
  4. mkdir -p m4
  5. rm -fr autom4te.cache
  6. autoreconf -i
  7. # Patch libtool 2.4.2 to pass -fstack-protector as a linker argument
  8. sed 's/-fuse-linker-plugin)/-fuse-linker-plugin|-fstack-protector*)/' \
  9. ltmain.sh > ltmain.sh.fixed
  10. mv -f ltmain.sh.fixed ltmain.sh
  11. # Update config scripts and fixup permissions
  12. find . ! -perm -u=w -exec chmod u+w {} \;
  13. cp scripts/config.* .