summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libgomp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libgomp/Makefile')
-rw-r--r--gnu/lib/libgomp/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/lib/libgomp/Makefile b/gnu/lib/libgomp/Makefile
index c8052d5..0974516 100644
--- a/gnu/lib/libgomp/Makefile
+++ b/gnu/lib/libgomp/Makefile
@@ -24,7 +24,8 @@ VERSION_MAP= ${SRCDIR}/libgomp.map
# Target-specific OpenMP configuration
.if ${MACHINE_ARCH} == arm || ${MACHINE_ARCH} == i386 || \
- ${MACHINE_ARCH} == mips || ${MACHINE_ARCH} == powerpc
+ ${MACHINE_ARCH} == powerpc || \
+ (${MACHINE_ARCH} == mips && (!defined(TARGET_ABI) || ${TARGET_ABI} != "n64"))
OMP_LOCK_ALIGN = 4
OMP_LOCK_KIND= 4
OMP_LOCK_SIZE= 4
OpenPOWER on IntegriCloud