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

Commit9ecba0c

Browse files
committed
Use -fPIC on Sparc, per Tom Callaway.
1 parent36adb2e commit9ecba0c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/makefiles/Makefile.linux

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ rpath = -Wl,-rpath,$(libdir)
44
shlib_symbolic = -Wl,-Bsymbolic
55
allow_nonpic_in_shlib = yes
66
DLSUFFIX = .so
7+
8+
ifeq "$(findstring sparc,$(host_cpu))" "sparc"
9+
CFLAGS_SL = -fPIC
10+
else
711
CFLAGS_SL = -fpic
12+
endif
813

914
%.so: %.o
1015
$(CC) -shared -o $@ $<

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp