pkgsrc-Changes archive

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

CVS commit: pkgsrc/cross/mingw-gcc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug 20 09:23:42 UTC 2016

Modified Files:
        pkgsrc/cross/mingw-gcc: Makefile

Log Message:
Make sure no precompiled headers are installed with any gcc version.

>From Matthew Mondor in PR 51396.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/cross/mingw-gcc/Makefile

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

Modified files:

Index: pkgsrc/cross/mingw-gcc/Makefile
diff -u pkgsrc/cross/mingw-gcc/Makefile:1.6 pkgsrc/cross/mingw-gcc/Makefile:1.7
--- pkgsrc/cross/mingw-gcc/Makefile:1.6 Sun Jun 19 16:23:59 2016
+++ pkgsrc/cross/mingw-gcc/Makefile     Sat Aug 20 09:23:42 2016
@@ -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 @@ post-install:
        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