Module Name:    src
Committed By:   mrg
Date:           Wed Sep 21 02:12:00 UTC 2011

Modified Files:
        src/external/gpl3/gcc/lib/libgomp: Makefile

Log Message:
use GOMP_MACHINE_ARCH, so we can build compat libs.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/lib/libgomp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/lib/libgomp/Makefile
diff -u src/external/gpl3/gcc/lib/libgomp/Makefile:1.1 src/external/gpl3/gcc/lib/libgomp/Makefile:1.2
--- src/external/gpl3/gcc/lib/libgomp/Makefile:1.1	Tue Sep 20 02:28:03 2011
+++ src/external/gpl3/gcc/lib/libgomp/Makefile	Wed Sep 21 02:12:00 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/09/20 02:28:03 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/09/21 02:12:00 mrg Exp $
 
 # build GCC's libgomp, so that -fopenmp works.
 
@@ -33,12 +33,14 @@
 	fortran.c \
 	affinity.c
 
+GOMP_MACHINE_ARCH?=	${MACHINE_ARCH}
+
 CPPFLAGS+= \
 	-DHAVE_CONFIG_H \
 	-I${DIST}/libgomp \
 	-I${DIST}/libgomp/config/posix \
 	-I${DIST}/libgcc \
-	-I${.CURDIR}/arch/${MACHINE_ARCH}
+	-I${.CURDIR}/arch/${GOMP_MACHINE_ARCH}
 CFLAGS+=-pthread
 
 # This is where GCC looks for it.

Reply via email to