diff options
author | wiz <wiz@pkgsrc.org> | 2016-08-20 09:23:42 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-08-20 09:23:42 +0000 |
commit | 8f117e5aef4127931e640c1143812a454d9392d5 (patch) | |
tree | 50147beb06c9e5420491410695c62806517af008 /cross | |
parent | bd9838d573cee4f53ae5ce5dcd840dbf7bb208c0 (diff) | |
download | pkgsrc-8f117e5aef4127931e640c1143812a454d9392d5.tar.gz |
Make sure no precompiled headers are installed with any gcc version.
From Matthew Mondor in PR 51396.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/mingw-gcc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cross/mingw-gcc/Makefile b/cross/mingw-gcc/Makefile index 362e4225b6e..7a713c4f05e 100644 --- a/cross/mingw-gcc/Makefile +++ b/cross/mingw-gcc/Makefile @@ -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" |