mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Use -fPIC on Sparc, per Tom Callaway.
This commit is contained in:
parent
36adb2e095
commit
9ecba0c2f8
@ -4,7 +4,12 @@ rpath = -Wl,-rpath,$(libdir)
|
||||
shlib_symbolic = -Wl,-Bsymbolic
|
||||
allow_nonpic_in_shlib = yes
|
||||
DLSUFFIX = .so
|
||||
|
||||
ifeq "$(findstring sparc,$(host_cpu))" "sparc"
|
||||
CFLAGS_SL = -fPIC
|
||||
else
|
||||
CFLAGS_SL = -fpic
|
||||
endif
|
||||
|
||||
%.so: %.o
|
||||
$(CC) -shared -o $@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user