pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cross/mingw-gcc Make sure no precompiled headers are i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7a2a7caed7c4
branches: trunk
changeset: 351418:7a2a7caed7c4
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Aug 20 09:23:42 2016 +0000
description:
Make sure no precompiled headers are installed with any gcc version.
>From Matthew Mondor in PR 51396.
diffstat:
cross/mingw-gcc/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 0de023cf86ca -r 7a2a7caed7c4 cross/mingw-gcc/Makefile
--- a/cross/mingw-gcc/Makefile Sat Aug 20 09:21:44 2016 +0000
+++ b/cross/mingw-gcc/Makefile Sat Aug 20 09:23:42 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/06/19 16:23:59 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2016/08/20 09:23:42 wiz Exp $
DISTNAME= mingw-gcc-${DIST_VERSION}
PKGNAME= ${DISTNAME:S/-${DIST_VERSION}/-${GCC_VERSION}/}
@@ -42,6 +42,8 @@
cd ${DESTDIR}${PREFIX}/cross && ${LN} -fs bin/${MINGW_TARGET}-gcc ${MINGW_TARGET}/bin/gcc
cd ${DESTDIR}${PREFIX}/cross && ${LN} -fs bin/${MINGW_TARGET}-c++ ${MINGW_TARGET}/bin/c++
cd ${DESTDIR}${PREFIX}/cross && ${LN} -fs bin/${MINGW_TARGET}-g++ ${MINGW_TARGET}/bin/g++
+ # Remove any potentially built C++ precompiled header files (depends on toolchain used)
+ ${RM} -f ${DESTDIR}${PREFIX}/cross/include/c++/${GCC_VERSION}/${MINGW_TARGET}/bits/stdc++.h.gch/*.gch
.include "../../cross/mingw/Makefile.common"
.include "../../cross/mingw-binutils/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index