projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0f2659
)
meson: Add user-provided c_args to bitcode_cflags
author
Peter Eisentraut
<
[email protected]
>
Thu, 6 Jun 2024 20:13:18 +0000
(22:13 +0200)
committer
Peter Eisentraut
<
[email protected]
>
Thu, 6 Jun 2024 20:36:43 +0000
(22:36 +0200)
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
src/backend/jit/llvm/meson.build
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/jit/llvm/meson.build
b/src/backend/jit/llvm/meson.build
index 41c759f73c51213e36f89ff27b012d333f69bfa0..4a4232661ba4f72d5ef6068ebf6deae1a186f072 100644
(file)
--- a/
src/backend/jit/llvm/meson.build
+++ b/
src/backend/jit/llvm/meson.build
@@
-63,6
+63,7
@@
bitcode_cflags = ['-fno-strict-aliasing', '-fwrapv']
if llvm.version().version_compare('=15.0')
bitcode_cflags += ['-Xclang', '-no-opaque-pointers']
endif
+bitcode_cflags += get_option('c_args')
bitcode_cflags += cppflags
# XXX: Worth improving on the logic to find directories here