Skip to content

MDEV-40386: DuckDB - pass through compiler and linker flags#5410

Open
grooverdan wants to merge 2 commits into
MariaDB:11.4from
grooverdan:MDEV-40386
Open

MDEV-40386: DuckDB - pass through compiler and linker flags#5410
grooverdan wants to merge 2 commits into
MariaDB:11.4from
grooverdan:MDEV-40386

Conversation

@grooverdan

Copy link
Copy Markdown
Member

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the CMake configuration for building DuckDB as an external project by forwarding CMAKE_CXX_FLAGS, CMAKE_EXE_LINKER_FLAGS, and CMAKE_MODULE_LINKER_FLAGS. The feedback recommends enclosing the linker flags in double quotes to prevent CMake from splitting space-separated flags into separate arguments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread storage/duckdb/cmake/duckdb.cmake Outdated

@drrtuy drrtuy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

untested ACK

@grooverdan
grooverdan enabled auto-merge (rebase) July 20, 2026 07:33
@gkodinov gkodinov added the MariaDB Foundation Pull requests created by MariaDB Foundation label Jul 20, 2026
Without passing through the compile and linker flags, options
like -stdlib=libc++ can create ABI differences between ducksdb
extensions and what the server links too.

The jemalloc has C files so CMAKE_C_FLAGS is passed through too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Foundation Pull requests created by MariaDB Foundation

Development

Successfully merging this pull request may close these issues.

3 participants