Changeset View
Changeset View
Standalone View
Standalone View
contrib/debian/rules
#!/usr/bin/make -f | #!/usr/bin/make -f | ||||
# -*- mode: makefile; coding: utf-8 -*- | # -*- mode: makefile; coding: utf-8 -*- | ||||
# Ubuntu Jammy enables LTO by default. This is great but this produces a bad | |||||
# bitcoin-qt binary on amd64 (Qt5Core segfaults at startup) for some reason, so | |||||
# we force disable it. | |||||
export DEB_BUILD_MAINT_OPTIONS = optimize=-lto | |||||
%: | %: | ||||
dh $@ --buildsystem=cmake+ninja --builddirectory=_build | dh $@ --buildsystem=cmake+ninja --builddirectory=_build | ||||
override_dh_auto_configure: | override_dh_auto_configure: | ||||
dh_auto_configure -- \ | dh_auto_configure -- \ | ||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||
-DCMAKE_INSTALL_PREFIX=$$(pwd)/debian/tmp \ | -DCMAKE_INSTALL_PREFIX=$$(pwd)/debian/tmp \ | ||||
-DCLIENT_VERSION_IS_RELEASE=ON \ | -DCLIENT_VERSION_IS_RELEASE=ON \ | ||||
Show All 19 Lines |