[$(subdirs)=db2] (CPPFLAGS): Add macros to provide spinlock
authordrepper <drepper>
Wed, 27 Aug 1997 20:01:48 +0000 (20:01 +0000)
committerdrepper <drepper>
Wed, 27 Aug 1997 20:01:48 +0000 (20:01 +0000)
information for db2.

sysdeps/i386/Makefile

index 35e0422..bb2d8f7 100644 (file)
@@ -5,6 +5,10 @@ asm-CPPFLAGS := $(asm-CPPFLAGS) -DGAS_SYNTAX
 # The i386 `long double' is a distinct type we support.
 long-double-fcts = yes
 
+ifeq ($(subdir),db2)
+CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_X86_GCC=1
+endif
+
 ifeq ($(subdir),gmon)
 sysdep_routines += i386-mcount
 endif