(In reply to Sean Davis from comment #9)
> Created attachment 5425 [details]
> debian rules which fixes this issue in ubuntu
>
> This debian/rules was created to solve an issue with the Ubuntu packaging.
> It forces the same rules that are applied to debian. Including this
> upstream would be ideal.
(In reply to Sean Davis from comment #9)
> Created attachment 5425 [details]
> debian rules which fixes this issue in ubuntu
>
> This debian/rules was created to solve an issue with the Ubuntu packaging.
> It forces the same rules that are applied to debian. Including this
> upstream would be ideal.
@@ -3,6 +3,7 @@
export DEB_LDFLAGS_ MAINT_APPEND= -Wl,--as- needed -Wl,-O1 MAINT_OPTIONS= hardening= +all -Wl,-z, relro
export DEB_BUILD_
+export LDFLAGS=
%:
dh $@ --parallel
That doesn't look right. Why not ading that to DEB_LDFLAGS_ MAINT_APPEND which is the main point of that?
By the way, on Debian it's already exported by dpkg-buildflags, you might want to check it's the case also on Ubuntu.