Skip to content

Commit

Permalink
The mpfr sources moved down into a src directory - deal with this in
Browse files Browse the repository at this point in the history
mknative.
  • Loading branch information
skrll committed Feb 16, 2014
1 parent a86d2a7 commit f83c369
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/gcc/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.61 2013/11/28 12:08:57 mrg Exp $
# $NetBSD: Makefile,v 1.62 2014/02/16 11:26:31 skrll Exp $

.include <bsd.own.mk>

Expand Down Expand Up @@ -142,7 +142,7 @@ NATIVE_CONFIGURE_ARGS+= \
--with-mpfr-lib=${MPFROBJ} \
--with-gmp-lib=${GMPOBJ} \
--with-mpc-include=${MPC}/dist/src \
--with-mpfr-include=${MPFR}/dist \
--with-mpfr-include=${MPFR}/dist/src \
--with-gmp-include=${GMP}/lib/libgmp/arch/${MACHINE_ARCH}

. if ${MACHINE_ARCH} != "vax"
Expand Down
4 changes: 2 additions & 2 deletions tools/gcc/mknative-gcc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: mknative-gcc,v 1.74 2013/11/28 12:08:57 mrg Exp $
# $NetBSD: mknative-gcc,v 1.75 2014/02/16 11:26:31 skrll Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of gcc.
Expand Down Expand Up @@ -30,7 +30,7 @@ _OUTDIRBASE="gnu"
sanitise_includes () {
sed \
-e "s,-I$_DESTDIR/usr/include,,g" \
-e "s,-I$_SRC/external/lgpl3/mpfr/dist,,g" \
-e "s,-I$_SRC/external/lgpl3/mpfr/dist/src,,g" \
-e "s,-I$_SRC/external/lgpl3/mpc/dist/src,,g" \
-e "s,-I$_SRC/external/lgpl3/gmp/lib/libgmp/arch/$MACHINE_ARCH,,g" \
-e "s,-I/usr/include/[^ ]*,,"
Expand Down

0 comments on commit f83c369

Please sign in to comment.