[Debian-med-packaging] Bug#915009: clonalframe: arguably "better way" to tweak qmake build flags exist
Jonas Smedegaard
dr at jones.dk
Thu Nov 29 12:44:58 GMT 2018
Package: clonalframe
Version: 1.2-8
Severity: minor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I stumbled across this note in rules file of clonalframe:
# did not found a better way to push hardening flags into Makefile
Below is a way to pass custom build options to qmake without sed hacking:
- --- BEGIN debian/rules ---
include /usr/share/dpkg/buildflags.mk
%:
dh $@ --parallel
override_dh_auto_configure:
QT_SELECT=5 CXXFLAGS="$(CXXFLAGS) -fpermissive" dh_auto_configure
- --- END debian/rules ---
I did not test, but specifically for hardening flags I suspect they may
no longer need any special handling in qmake nowadays.
- Jonas
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAlv/30cACgkQLHwxRsGg
ASElZA//UoYco5u+l81TulzdygHDtcgXbS/rEgyXJEg2tVLJ0bDQv5zLYs+hAMDk
b0R8JjmGNKadq0ohfNLHgGbNgFw5T9qJ/VDTqvViiraji5EZajdds03vpWPgMN3d
UMhZOJ787XIQAwoh6Ag2zg8WZO+5blXz7At6m+Skw6lN/I0FXiOIsvSUHa9ajNK+
zBB7bFGxPCdde2Y0+cnnV9ty6uAslj+sVJeC8FelIB7W0CpL8AOXJklyEmCKn2n0
JCBZQ2Q4qZw0Rg2Qk2R+rPNgyKS8HtgQyaJD1sikdD4rK1BJwXPXF+cr8TYmIHmy
Xo30lHfdQKKvWUkfQQ8sqXM9XDRJ/c0J+mC++Koxf1SLNc+W8TGbL4Kc+H4tlCZ1
L7hHXClO1HvkbFJ4m0YVKolXnkgNDFbzk8r0yCrEV71F4yas6lxIPW72lYHux2AL
LLjI0sCM1Qy9BfBSaLDCxUfkprm7RFZ+XGrIYj/Fq5SM/i4DBgbFURfELHDupWXs
7NC7BKNG+ZEbbTmQQDOII736RLO0f3h8eiSFx3FRqKGvHfxD0xWq7z5rxeghyIWI
jDoh0PW/Njh716ejVgcUYyq18Iql+q5hGb3HTfUKZ461zCFmBGp/uFE+vvvjpzXv
YPvw+gbUq3HlNwnQ64kztE7uRZO2k2hR7+W0m8H5znE/B7Eeurs=
=6coR
-----END PGP SIGNATURE-----
More information about the Debian-med-packaging
mailing list