mirror of
https://github.com/MariaDB/server.git
synced 2025-04-18 13:15:32 +02:00
MCOL-5819 disable lto for ColumnStore
This commit is contained in:
parent
b79723ffe3
commit
74532f2355
2 changed files with 4 additions and 0 deletions
3
debian/rules
vendored
3
debian/rules
vendored
|
@ -4,6 +4,9 @@
|
|||
# https://wiki.debian.org/Hardening
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
# LTO is generally enabled. Only ColumnStore doesn't support it (MCOL-5819)
|
||||
# and disables it in storage/columnstore/CMakeLists.txt
|
||||
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
# Include all defaults, including buildflags.mk
|
||||
include /usr/share/dpkg/default.mk
|
||||
|
|
|
@ -20,6 +20,7 @@ endmacro()
|
|||
IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR
|
||||
CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64" OR
|
||||
CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
|
||||
MY_CHECK_AND_SET_COMPILER_FLAG("-fno-lto")
|
||||
SET(PCRE_INCLUDES "${PCRE_INCLUDE_DIRS}")
|
||||
add_subdirectory(columnstore)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue