From 473731f54759ee3f71a36722ef3e08b2aaac51c0 Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Wed, 15 Nov 2023 20:22:10 -0600 Subject: [PATCH] Export a couple important env vars --- debian/changelog | 3 +++ debian/rules | 3 +++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 37808a7..a6dc3d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,9 @@ calamares-settings-ubuntu (1:24.04.4) noble; urgency=medium * Fixed the pkgselect module's CMakeLists.txt file. * Removed some unnecessary path segments from debian/rules. * Unset the executable bit on files that shouldn't be executable. + * Exported the LC_ALL=C.UTF-8 and DEB_BUILD_MAINT_OPTIONS = hardening =+all + environment variables in debian/rules since we're building a shared + library in here now. -- Aaron Rainbolt Wed, 15 Nov 2023 18:33:39 -0600 diff --git a/debian/rules b/debian/rules index 70fea8d..8495f1a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,8 @@ #!/usr/bin/make -f +export LC_ALL=C.UTF-8 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) PKGSELECT = "common/modules/pkgselect" MODULES_DIR = "debian/calamares-settings-ubuntu-common/usr/lib/$(DEB_HOST_MULTIARCH)/calamares/modules"