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

Commitf1e8362

Browse files
committed
makefile: use proper linker flags for C++ compiles
Add CFLAGS_SL flags for C++ compiles, which adds needed -fPIC linkerflag.Reported-by: Oleksii KliukinDiscussion:https://postgr.es/m/E4A49A6B-621B-4830-A374-970EBB7D1328@hintbits.comBackpatch-through: 10 only
1 parent67427a1 commitf1e8362

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/Makefile.shlib

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ endif
101101
# Try to keep the sections in some kind of order, folks...
102102

103103
override CFLAGS += $(CFLAGS_SL)
104+
override CXXFLAGS += $(CFLAGS_SL)
104105
ifdef SO_MAJOR_VERSION
105106
# libraries ought to use this to refer to versioned gettext domain names
106107
override CPPFLAGS += -DSO_MAJOR_VERSION=$(SO_MAJOR_VERSION)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp