Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib/libgomp use GOMP_MACHINE_ARCH, so we c...



details:   https://anonhg.NetBSD.org/src/rev/b2652a5161f8
branches:  trunk
changeset: 769734:b2652a5161f8
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Sep 21 02:12:00 2011 +0000

description:
use GOMP_MACHINE_ARCH, so we can build compat libs.

diffstat:

 external/gpl3/gcc/lib/libgomp/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 2fab4f996d09 -r b2652a5161f8 external/gpl3/gcc/lib/libgomp/Makefile
--- a/external/gpl3/gcc/lib/libgomp/Makefile    Wed Sep 21 02:06:42 2011 +0000
+++ b/external/gpl3/gcc/lib/libgomp/Makefile    Wed Sep 21 02:12:00 2011 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index