[neon/neon-packaging/rapidyaml/Neon/release] debian: enable fPIC to stop relocation errors in union pckaging
Carlos De Maine
null at kde.org
Sun Feb 2 22:48:59 GMT 2025
Git commit cb93af3707505dbd11890a301ab673591ba23d21 by Carlos De Maine.
Committed on 02/02/2025 at 22:48.
Pushed by carlosdem into branch 'Neon/release'.
enable fPIC to stop relocation errors in union pckaging
M +5 -0 debian/rules
https://invent.kde.org/neon/neon-packaging/rapidyaml/-/commit/cb93af3707505dbd11890a301ab673591ba23d21
diff --git a/debian/rules b/debian/rules
index 0a4e63f..c926024 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+# enable fPIC to stop relocation errors in union pckaging
+export DEB_CFLAGS_MAINT_APPEND = -fPIC
+export DEB_CXXFLAGS_MAINT_APPEND = -fPIC
+export DEB_LDFLAGS_MAINT_APPEND = -fPIC
+
%:
dh $@ --buildsystem=cmake
More information about the Neon-commits
mailing list