postgresql-732-sparc.patch
text/x-diff
Filename: postgresql-732-sparc.patch
Type: text/x-diff
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| src/makefiles/Makefile.linux | 5 | 0 |
--- postgresql-7.3.2/src/makefiles/Makefile.linux.BAD Wed Aug 29 15:14:40 2001 +++ postgresql-7.3.2/src/makefiles/Makefile.linux Tue Apr 29 00:32:55 2003 @@ -1,10 +1,15 @@ AROPT = crs +ARCH := $(patsubst ppc64,ppc,$(patsubst sparc64,sparc,$(patsubst i%86,i386,$(shell uname -m)))) export_dynamic = -export-dynamic rpath = -Wl,-rpath,$(libdir) shlib_symbolic = -Wl,-Bsymbolic allow_nonpic_in_shlib = yes DLSUFFIX = .so +ifeq (sparc,$(ARCH)) +CFLAGS_SL = -fPIC +else CFLAGS_SL = -fpic +endif %.so: %.o $(CC) -shared -o $@ $<