projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[$(subdirs)=db2] (CPPFLAGS): Add macros to provide spinlock
[kopensolaris-gnu/glibc.git]
/
sysdeps
/
i386
/
Makefile
diff --git
a/sysdeps/i386/Makefile
b/sysdeps/i386/Makefile
index
35e0422
..
bb2d8f7
100644
(file)
--- a/
sysdeps/i386/Makefile
+++ b/
sysdeps/i386/Makefile
@@
-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