Content-Length: 254342 | pFad | http://github.com/postgrespro/postgres/commit/908e17151b4834bd4bbfb703e206b68f5db341f9

31 meson: llvm: Use llvm-config's --cxxflags when building llvmjit · postgrespro/postgres@908e171 · GitHub
Skip to content

Commit 908e171

Browse files
committed
meson: llvm: Use llvm-config's --cxxflags when building llvmjit
Otherwise we don't use LLVM's flags when building llvmjit_wrap.cpp and llvmjit_inline.cpp. That can cause compile time failures if the C++ compiler doesn't default to a new enough C++ standards version and link time failures due to ABI influencing flags like -fno-rtti.
1 parent 4a79fd1 commit 908e171

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
@@ -24,6 +24,7 @@ llvmjit = shared_module('llvmjit',
2424
llvmjit_sources,
2525
kwargs: pg_mod_args + {
2626
'dependencies': pg_mod_args['dependencies'] + [llvm],
27+
'cpp_args': pg_mod_args['cpp_args'] + llvm.get_variable(configtool: 'cxxflags').split(),
2728
}
2829
)
2930

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/908e17151b4834bd4bbfb703e206b68f5db341f9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy