Fix set_append_rel_pathlist() to deal intelligently with cases where
[PostgreSQL.git] / src / makefiles / Makefile.linux
blobd28c7f306d8da0fba1af133be9e13769a9da376a
1 AROPT = crs
2 export_dynamic = -Wl,-E
3 rpath = -Wl,-rpath,'$(rpathdir)'
4 allow_nonpic_in_shlib = yes
5 DLSUFFIX = .so
7 ifeq "$(findstring sparc,$(host_cpu))" "sparc"
8 CFLAGS_SL = -fPIC
9 else
10 CFLAGS_SL = -fpic
11 endif
13 %.so: %.o
14         $(CC) $(CFLAGS) -shared -o $@ $<