Commit d8a11b29 authored by Peter Eisentraut's avatar Peter Eisentraut

Give GCC on Irix a (theoretical) chance.

parent 21e1e664
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California # Copyright (c) 1998, Regents of the University of California
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.34 2000/11/09 04:17:53 momjian Exp $ # $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.35 2000/11/14 21:11:59 petere Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -155,7 +155,7 @@ endif ...@@ -155,7 +155,7 @@ endif
ifeq ($(PORTNAME), irix5) ifeq ($(PORTNAME), irix5)
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
LINK.shared = $(COMPILER) -shared -set_version sgi$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LINK.shared = $(COMPILER) -shared -Wl,-set_version,sgi$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
endif endif
ifeq ($(PORTNAME), linux) ifeq ($(PORTNAME), linux)
......
# RANLIB is not used on IRIX 5
RANLIB= touch
MK_NO_LORDER= true MK_NO_LORDER= true
AROPT = crs AROPT = crs
rpath = -Wl,-rpath,$(libdir) rpath = -Wl,-rpath,$(libdir)
DLSUFFIX = .so DLSUFFIX = .so
# PIC is default
CFLAGS_SL = CFLAGS_SL =
%.so: %.o %.so: %.o
$(LD) -G -Bdynamic -shared -o $@ $< $(LD) -G -Bdynamic -shared -o $@ $<
override CPPFLAGS += -U_NO_XOPEN4 override CPPFLAGS += -U_NO_XOPEN4
override CFLAGS += -woff 1164,1171,1185,1195,1552 -Wl,-woff,15 -Wl,-woff,84
ifneq ($(GCC), yes)
CFLAGS += -woff 1164,1171,1185,1195,1552
endif
LDFLAGS += -Wl,-woff,15 -Wl,-woff,84
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment