Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit365b5a3

Browse files
committed
Use CXXFLAGS instead of CFLAGS for linking C++ code
Otherwise, this would break if using C and C++ compilers fromdifferent families and they understand different options. It alreadyused the right flags for compiling, this is only for linking. Also,the meson setup already did this correctly.Reported-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://www.postgresql.org/message-id/228700.1722717983@sss.pgh.pa.us
1 parent028b4b2 commit365b5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/jit/llvm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ SHLIB_LINK += $(LLVM_LIBS)
3737
# Because this module includes C++ files, we need to use a C++
3838
# compiler for linking. Makefile.shlib uses $(COMPILER) to build
3939
# loadable modules.
40-
overrideCOMPILER =$(CXX)$(CFLAGS)
40+
overrideCOMPILER =$(CXX)$(CXXFLAGS)
4141

4242
OBJS =\
4343
$(WIN32RES)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp