aboutsummaryrefslogtreecommitdiff
path: root/sub/e2fsprogs
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-08-30 22:00:40 +0000
committerLaurent Bercot <ska@appnovation.com>2024-08-30 22:00:40 +0000
commit063ed130f82c80bb15d2343caf0efbe38b196a08 (patch)
tree468396dc20ee7c9dcaaf5f7373916b2c61c05ecc /sub/e2fsprogs
parent1847c98d3f1cee863d4e74f207802f26efab6671 (diff)
downloadlh-bootstrap-063ed130f82c80bb15d2343caf0efbe38b196a08.tar.xz
e2fsprogs needs _LARGEFILE64_SOURCE with glibc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'sub/e2fsprogs')
-rw-r--r--sub/e2fsprogs/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sub/e2fsprogs/Makefile b/sub/e2fsprogs/Makefile
index f60c986..3a2ab76 100644
--- a/sub/e2fsprogs/Makefile
+++ b/sub/e2fsprogs/Makefile
@@ -5,8 +5,8 @@ E2FSPROGS_URLDIR := https://kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v
E2FSPROGS_TAREXT := tar.xz
E2FSPROGS_TARLETTER := J
-E2FSPROGS_CONFIGURE_OPTIONS := --with-gnu-ld --disable-gtk-doc-html --with-xz --disable-manpages --with-bashcompletiondir=$(OUTPUT)/build-build/opt/$(E2FSPROGS_NAME)-$(E2FSPROGS_VERSION)/bash-completions
-E2FSPROGS_CFLAGS :=
+E2FSPROGS_CONFIGURE_OPTIONS := --with-gnu-ld --disable-gtk-doc-html --with-xz --disable-manpages --enable-largefile --with-bashcompletiondir=$(OUTPUT)/build-build/opt/$(E2FSPROGS_NAME)-$(E2FSPROGS_VERSION)/bash-completions
+E2FSPROGS_CFLAGS := -D_LARGEFILE64_SOURCE
E2FSPROGS_LDFLAGS := -s -static
E2FSPROGS_LIBS := -llzma
@@ -25,7 +25,7 @@ $(OUTPUT)/build-build/.lh_$(E2FSPROGS_NAME)_copied: $(OUTPUT)/sources/.lh_$(E2FS
exec setuidgid $(NORMALUSER) s6-touch $@
$(OUTPUT)/build-build/.lh_$(E2FSPROGS_NAME)_configured: $(OUTPUT)/build-build/.lh_$(E2FSPROGS_NAME)_copied | $(OUTPUT)/build-build/.lh_skarnet_installed
- exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-build/opt/$(E2FSPROGS_NAME)-$(E2FSPROGS_VERSION)/src export CC "$(BUILD_CC)" export LDFLAGS "$(E2FSPROGS_LDFLAGS)" ./configure --prefix=$(OUTPUT)/build-build/opt/$(E2FSPROGS_NAME)-$(E2FSPROGS_VERSION) $(E2FSPROGS_CONFIGURE_OPTIONS)
+ exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-build/opt/$(E2FSPROGS_NAME)-$(E2FSPROGS_VERSION)/src export CC "$(BUILD_CC)" export CFLAGS "$(E2FSPROGS_CFLAGS)" export LDFLAGS "$(E2FSPROGS_LDFLAGS)" ./configure --prefix=$(OUTPUT)/build-build/opt/$(E2FSPROGS_NAME)-$(E2FSPROGS_VERSION) $(E2FSPROGS_CONFIGURE_OPTIONS)
exec setuidgid $(NORMALUSER) s6-touch $@
$(OUTPUT)/build-build/.lh_$(E2FSPROGS_NAME)_built: $(OUTPUT)/build-build/.lh_$(E2FSPROGS_NAME)_configured | $(OUTPUT)/build-build/.lh_skarnet_installed