Draft: d/rules: Enable all default hardening build flags.
This MR demonstrates a unit test failure caused by the LDFLAG "-Wl,-z,now".
If this flag is present, the libbuteo-syncfw-qml.so module fails to load. IMHO, stripping -Wl,-z,now from LDFLAGS is only a work around as it hides broken symbol resolving...
file:///<<PKGBUILDDIR>>/tests/qml/tst_ButeoSyncFW.qml:18:1: plugin cannot be loaded for module "Buteo": Cannot load library /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Buteo/libbuteo-syncfw-qml.so:
(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Buteo/libbuteo-syncfw-qml.so: undefined symbol: _ZN11ButeoSyncFW27onSyncProfilesByKeyFinishedEP23QDBusPendingCallWatcher)
import Buteo 0.1
^
@peat-psuwit any idea how this could really be fixed?
Edited by Mike Gabriel