From 66f66343f67b4873b058f42c405b04465710c9fe Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 22 Jul 1999 18:30:08 +0000 Subject: [PATCH] Alpha spinlock fix from Uncle George --- src/backend/storage/ipc/Makefile | 12 +++++++++++- src/backend/utils/adt/Makefile | 4 ++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/backend/storage/ipc/Makefile b/src/backend/storage/ipc/Makefile index 8bd303c0a6..340f70d3c8 100644 --- a/src/backend/storage/ipc/Makefile +++ b/src/backend/storage/ipc/Makefile @@ -4,7 +4,7 @@ # Makefile for storage/ipc # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/storage/ipc/Makefile,v 1.7 1998/04/06 00:25:14 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/storage/ipc/Makefile,v 1.8 1999/07/22 18:30:07 momjian Exp $ # #------------------------------------------------------------------------- @@ -13,6 +13,16 @@ include ../../../Makefile.global CFLAGS += -I../.. +# seems to be required 1999/07/22 bjm +ifeq ($(CPU),alpha) +ifeq ($(CC), gcc) +CFLAGS+= -fno-inline +endif +ifeq ($(CC), egcs) +CFLAGS+= -fno-inline +endif +endif + OBJS = ipc.o ipci.o shmem.o shmqueue.o sinval.o \ sinvaladt.o spin.o diff --git a/src/backend/utils/adt/Makefile b/src/backend/utils/adt/Makefile index 45f837043e..f6a19ed596 100644 --- a/src/backend/utils/adt/Makefile +++ b/src/backend/utils/adt/Makefile @@ -4,7 +4,7 @@ # Makefile for utils/adt # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/utils/adt/Makefile,v 1.24 1999/07/20 16:48:55 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/utils/adt/Makefile,v 1.25 1999/07/22 18:30:08 momjian Exp $ # #------------------------------------------------------------------------- @@ -13,7 +13,7 @@ include ../../../Makefile.global CFLAGS += -I../.. -# seems to be required for some date/time stuff 07/19/1999 bjm +# seems to be required for some date/time stuff 1999/07/22 bjm ifeq ($(CPU),alpha) ifeq ($(CC), gcc) CFLAGS+= -mieee -- 2.40.0