diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-08 13:11:27 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-08 13:11:27 +0000 |
commit | 6712448185b0d558de27d7b0b41fdbcd36c80aa6 (patch) | |
tree | 828b738a9f2e17773c92a4d9958a1aa66e7ef43f /gnu | |
parent | 61d308c2c0e694480d9d106ee4bc68f28d449753 (diff) |
Use "builtins" for atomicity on sparc64 as well.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/libstdc++-v3/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libstdc++-v3/Makefile b/gnu/lib/libstdc++-v3/Makefile index 23a68accb4b..afea3ffa2db 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.2 2010/05/08 10:09:42 kettenis Exp $ +# $OpenBSD: Makefile,v 1.3 2010/05/08 13:11:26 kettenis Exp $ GCCDIR= ${.CURDIR}/../../gcc/gcc GCCLIB= ${GCCDIR}/gcc @@ -83,7 +83,7 @@ ATOMICITY_H= ${SRCDIR}/config/cpu/${MARCHDIR}/atomicity.h ATOMICITY_H= ${SRCDIR}/config/cpu/generic/atomicity_mutex/atomicity.h .endif -.if ${MACHINE_ARCH} == "amd64" +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64" .if exists(${SRCDIR}/config/cpu/generic/atomicity_builtins/atomicity.h) ATOMICITY_H= ${SRCDIR}/config/cpu/generic/atomicity_builtins/atomicity.h .endif |