diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-04 20:07:27 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-04 20:07:27 +0000 |
commit | 74686ff5738ed0443ab68bd1490910c8576a9c17 (patch) | |
tree | ab914fcd55ec8519c0379390a858cca4db8d7041 /make | |
parent | 366f85bcf4ee29b1e410ef3c53fbe140c71f1293 (diff) | |
download | lh-bootstrap-74686ff5738ed0443ab68bd1490910c8576a9c17.tar.xz |
fix bearssl, update musl, add socklog
Diffstat (limited to 'make')
-rwxr-xr-x | make | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -23,6 +23,11 @@ USE_TAP=${USE_TAP:-false} # TODO: backend specific, move to backends USE_VIRTIO_NETWORK=${USE_VIRTIO_NETWORK:-false} # allow end user to choose USE_VIRTIO_DISK=${USE_VIRTIO_DISK:-false} +# Properly build musl and friends if the default toolchain produces PIE +if ${BUILD_BUILD_CC} -dM -E - < /dev/null | grep -qF __PIE__ ; then + BUILD_BUILD_CC="$BUILD_BUILD_CC -fPIC" +fi + # By default, give up if all services aren't up 30 seconds after boot. # This allows shutting down the machine (via s6-poweroff) even if the # network fails to start, for instance. |