From: Ulrich Drepper Date: Mon, 30 Aug 1999 21:51:20 +0000 (+0000) Subject: [db2]: Set CFLAGS of mutex.c to make spinlocks known. X-Git-Tag: glibc-2.16-ports-before-merge~2836 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1d675f8aefc349e43101d2a518f4d09eadf9f04;p=thirdparty%2Fglibc.git [db2]: Set CFLAGS of mutex.c to make spinlocks known. --- diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile index 250a31779c2..63c7d4bba0c 100644 --- a/sysdeps/alpha/Makefile +++ b/sysdeps/alpha/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. +# Copyright (C) 1993, 94, 95, 96, 97, 99 Free Software Foundation, Inc. # This file is part of the GNU C Library. # Contributed by Brendan Kehoe (brendan@zen.org). @@ -17,6 +17,10 @@ # write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. +ifeq ($(subdir),db2) +CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_ALPHA=1 +endif + ifeq ($(subdir),gmon) sysdep_routines += _mcount endif