...
 
Commits (1)
#!/usr/bin/make -f
export LC_ALL = C
export DEB_BUILD_MAINT_OPTIONS = hardening=+all future=+all reproducible=+all
export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+all
include /usr/share/dpkg/default.mk
# Upstream source code in src/version.c uses __DATE__ and __TIME__
......@@ -35,21 +35,26 @@ ifeq ($(HAVE_DIETLIBC),yes)
--libdir $(DIET_LIBDIR) \
--disable-shared \
--enable-static \
--enable-largefile \
--enable-memory-mapped-io=no \
CC='diet gcc' CPPFLAGS='-UHAVE_MMAP'
endif
dh_auto_configure -B glibc-build -- --enable-libgdbm-compat
dh_auto_configure -B glibc-build -- --enable-libgdbm-compat --enable-largefile
dh_auto_configure -B glibc-nolfs-build -- \
CFLAGS='-static' --program-suffix=-nolfs --disable-largefile
override_dh_auto_build:
ifeq ($(HAVE_DIETLIBC),yes)
dh_auto_build -B diet-build
endif
dh_auto_build -B glibc-build
dh_auto_build -B glibc-nolfs-build
override_dh_auto_install:
ifeq ($(HAVE_DIETLIBC),yes)
dh_auto_install -B diet-build
endif
dh_auto_install -B glibc-nolfs-build
dh_auto_install -B glibc-build
ifeq ($(HAVE_DIETLIBC),yes)
......