summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-23 00:48:03 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-23 00:48:03 +0000
commit186903747cde1416ecb6458b728115f2327cd97f (patch)
tree1fdffe333ad82ea1c3c01ce37b09468cf83b211d /make
parent505996ce0e385ab90f95532a8302c995fb8418b6 (diff)
downloadlh-bootstrap-186903747cde1416ecb6458b728115f2327cd97f.tar.xz
Remove -fPIC workaround, use the raw BUILD_BUILD_CC always
Diffstat (limited to 'make')
-rwxr-xr-xmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/make b/make
index 6c767ea..3c958ef 100755
--- a/make
+++ b/make
@@ -23,11 +23,6 @@ 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.