[neon/neon-packaging/c4core/Neon/release] debian: # enable fPIC to stop relocation errors in union pckaging

Carlos De Maine null at kde.org
Sun Feb 2 22:24:42 GMT 2025


Git commit 3bc3cd851b2cf6e739adccae0d459a5b025eed21 by Carlos De Maine.
Committed on 02/02/2025 at 22:24.
Pushed by carlosdem into branch 'Neon/release'.

# enable fPIC to stop relocation errors in union pckaging

M  +6    -0    debian/rules

https://invent.kde.org/neon/neon-packaging/c4core/-/commit/3bc3cd851b2cf6e739adccae0d459a5b025eed21

diff --git a/debian/rules b/debian/rules
index da93ec8..564e6ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,12 @@ 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