summaryrefslogtreecommitdiff
path: root/gnu/lib/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-05-08 13:33:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-05-08 13:33:49 +0000
commita463431f89ea7d80f5af11e9be263eae14ec49d2 (patch)
tree8987c12409a13067958848c8765c94a24921fe85 /gnu/lib/libstdc++-v3
parent6712448185b0d558de27d7b0b41fdbcd36c80aa6 (diff)
add i386 to the atomicity via builtins list as well
Diffstat (limited to 'gnu/lib/libstdc++-v3')
-rw-r--r--gnu/lib/libstdc++-v3/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/lib/libstdc++-v3/Makefile b/gnu/lib/libstdc++-v3/Makefile
index afea3ffa2db..9a7cbfe73cc 100644
--- a/gnu/lib/libstdc++-v3/Makefile
+++ b/gnu/lib/libstdc++-v3/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/lib/libstdc++/Makefile,v 1.63.2.1 2009/08/03 08:13:06 kensmith Exp $
-# $OpenBSD: Makefile,v 1.3 2010/05/08 13:11:26 kettenis Exp $
+# $OpenBSD: Makefile,v 1.4 2010/05/08 13:33:48 jsg Exp $
GCCDIR= ${.CURDIR}/../../gcc/gcc
GCCLIB= ${GCCDIR}/gcc
@@ -83,7 +83,8 @@ ATOMICITY_H= ${SRCDIR}/config/cpu/${MARCHDIR}/atomicity.h
ATOMICITY_H= ${SRCDIR}/config/cpu/generic/atomicity_mutex/atomicity.h
.endif
-.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64"
+.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64" || \\
+ ${MACHINE_ARCH} == "i386"
.if exists(${SRCDIR}/config/cpu/generic/atomicity_builtins/atomicity.h)
ATOMICITY_H= ${SRCDIR}/config/cpu/generic/atomicity_builtins/atomicity.h
.endif