mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Revert "don't disable lto in DEB builds"
This reverts commit 99178311ac
.
ColumnStore does not build with LTO. See MCOL-5819
This commit is contained in:
parent
69d033d165
commit
45e1ddc00f
1 changed files with 5 additions and 0 deletions
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -4,6 +4,11 @@
|
||||||
# https://wiki.debian.org/Hardening
|
# https://wiki.debian.org/Hardening
|
||||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
|
# Disable LTO on Ubuntu, see LP: #1970634 and https://jira.mariadb.org/browse/MDEV-25633
|
||||||
|
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes), yes)
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS += optimize=-lto
|
||||||
|
endif
|
||||||
|
|
||||||
DPKG_EXPORT_BUILDFLAGS = 1
|
DPKG_EXPORT_BUILDFLAGS = 1
|
||||||
# Include all defaults, including buildflags.mk
|
# Include all defaults, including buildflags.mk
|
||||||
include /usr/share/dpkg/default.mk
|
include /usr/share/dpkg/default.mk
|
||||||
|
|
Loading…
Reference in a new issue