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

Commit0b5c72d

Browse files
committed
On some HPUX versions/hardware, it seems we need to include libgcc.a in
the regression test shared libraries.
1 parent83fea34 commit0b5c72d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎src/makefiles/Makefile.hpux

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,18 @@ endif
5353
# Rule for building shared libs (currently used only for regression test
5454
# shlib ... should go away, since this is not really enough knowledge)
5555
%$(DLSUFFIX): %.o
56-
ifeq ($(with_gnu_ld), yes)
57-
$(CC) $(LDFLAGS) -shared -o $@ $<
56+
ifeq ($(GCC), yes)
57+
ifeq ($(with_gnu_ld), yes)
58+
$(CC) $(LDFLAGS) -shared -o $@ $< `$(CC) $(LDFLAGS) -print-libgcc-file-name`
59+
else
60+
$(LD) -b -o $@ $< `$(CC) $(LDFLAGS) -print-libgcc-file-name`
61+
endif
5862
else
63+
ifeq ($(with_gnu_ld), yes)
64+
$(CC) $(LDFLAGS) -shared -o $@ $<
65+
else
5966
$(LD) -b -o $@ $<
67+
endif
6068
endif
6169

6270
sqlmansect = 5

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp