mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 18:21:17 +02:00
d129255077
another section if required by the platform (instead of the old way of building them in section "l" and always transforming them to the platform-specific section). This speeds up the installation on common platforms, and it avoids some funny business with the man page tools and build process.
15 lines
252 B
Makefile
15 lines
252 B
Makefile
AROPT = crs
|
|
export_dynamic = -Wl,-E
|
|
rpath = -Wl,-rpath,'$(rpathdir)'
|
|
allow_nonpic_in_shlib = yes
|
|
DLSUFFIX = .so
|
|
|
|
ifeq "$(findstring sparc,$(host_cpu))" "sparc"
|
|
CFLAGS_SL = -fPIC
|
|
else
|
|
CFLAGS_SL = -fpic
|
|
endif
|
|
|
|
%.so: %.o
|
|
$(CC) $(CFLAGS) -shared -o $@ $<
|