mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 14:47:29 -04:00
Use -fPIC on Sparc, per Tom Callaway.
This commit is contained in:
parent
36adb2e095
commit
9ecba0c2f8
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue