Skip to content

Commit 1039352

Browse files
committed
meson: Add user-provided c_args to bitcode_cflags
This is needed for example to pass an include path set in the CPPFLAGS environment variable to the bitcode compile command. Discussion: https://www.postgresql.org/message-id/flat/c1384a7b-ed12-4862-a0da-a05c7945171a%40eisentraut.org
1 parent b0f2659 commit 1039352

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/jit/llvm/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ bitcode_cflags = ['-fno-strict-aliasing', '-fwrapv']
6363
if llvm.version().version_compare('=15.0')
6464
bitcode_cflags += ['-Xclang', '-no-opaque-pointers']
6565
endif
66+
bitcode_cflags += get_option('c_args')
6667
bitcode_cflags += cppflags
6768

6869
# XXX: Worth improving on the logic to find directories here

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy