You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
fix(build) Remove _GLIBXX flags for Columnstore debug builds
This commit is contained in:
committed by
Leonid Fedorov
parent
7dcb999e15
commit
ae20481aed
@ -8,6 +8,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.13)
|
||||
PROJECT(Columnstore)
|
||||
INCLUDE (CheckCXXSourceCompiles)
|
||||
|
||||
# MariaDB server adds this flags by default for Debug builds, and this makes our external projects
|
||||
# ABI incompatible with debug STL containers
|
||||
STRING(REPLACE -D_GLIBCXX_DEBUG "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG})
|
||||
STRING(REPLACE -D_GLIBCXX_ASSERTIONS "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG})
|
||||
|
||||
|
||||
FOREACH(p CMP0135)
|
||||
IF(POLICY ${p})
|
||||
CMAKE_POLICY(SET ${p} NEW)
|
||||
|
Reference in New Issue
Block a user