Skip to content

Commit d8a11b2

Browse files
committed
Give GCC on Irix a (theoretical) chance.
1 parent 21e1e66 commit d8a11b2

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/Makefile.shlib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.34 2000/11/09 04:17:53 momjian Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.35 2000/11/14 21:11:59 petere Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -155,7 +155,7 @@ endif
155155

156156
ifeq ($(PORTNAME), irix5)
157157
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
158-
LINK.shared = $(COMPILER) -shared -set_version sgi$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
158+
LINK.shared = $(COMPILER) -shared -Wl,-set_version,sgi$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
159159
endif
160160

161161
ifeq ($(PORTNAME), linux)

src/makefiles/Makefile.irix5

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
# RANLIB is not used on IRIX 5
2-
RANLIB= touch
31
MK_NO_LORDER= true
42
AROPT = crs
53
rpath = -Wl,-rpath,$(libdir)
64

75
DLSUFFIX = .so
6+
# PIC is default
87
CFLAGS_SL =
98

109
%.so: %.o
1110
$(LD) -G -Bdynamic -shared -o $@ $<
1211

1312
override CPPFLAGS += -U_NO_XOPEN4
14-
override CFLAGS += -woff 1164,1171,1185,1195,1552 -Wl,-woff,15 -Wl,-woff,84
13+
14+
ifneq ($(GCC), yes)
15+
CFLAGS += -woff 1164,1171,1185,1195,1552
16+
endif
17+
LDFLAGS += -Wl,-woff,15 -Wl,-woff,84

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy