diff --git a/configure/os/CONFIG.solaris-sparc-gnu.solaris-sparc-gnu b/configure/os/CONFIG.solaris-sparc-gnu.solaris-sparc-gnu index cd6edb220..79ee10996 100644 --- a/configure/os/CONFIG.solaris-sparc-gnu.solaris-sparc-gnu +++ b/configure/os/CONFIG.solaris-sparc-gnu.solaris-sparc-gnu @@ -23,8 +23,8 @@ STATIC_LDFLAGS_NO= STATIC_LDLIBS_YES= -Wl,-Bdynamic STATIC_LDLIBS_NO= -SHRLIB_LDFLAGS += -G -h $@ -z ignore -z defs -LOADABLE_SHRLIB_LDFLAGS += -G -h $@ +SHRLIB_LDFLAGS += -shared -fPIC -h $@ -z defs +LOADABLE_SHRLIB_LDFLAGS += -shared -fPIC -h $@ OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload diff --git a/configure/os/CONFIG.solaris-x86-gnu.solaris-x86-gnu b/configure/os/CONFIG.solaris-x86-gnu.solaris-x86-gnu index 37ba6b9a4..9ef1fbf9b 100644 --- a/configure/os/CONFIG.solaris-x86-gnu.solaris-x86-gnu +++ b/configure/os/CONFIG.solaris-x86-gnu.solaris-x86-gnu @@ -18,8 +18,8 @@ AR = ar -rc RANLIB= LD = ld -r -SHRLIB_LDFLAGS = -z defs -G -h $@ -LOADABLE_SHRLIB_LDFLAGS += -G -h $@ +SHRLIB_LDFLAGS += -shared -fPIC -h $@ -z defs +LOADABLE_SHRLIB_LDFLAGS += -shared -fPIC -h $@ OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload