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 | 133c1f00ba6bd1ea5e57a48aa0e611bcb648daa6 (patch) | |
tree | 5af05fab366c3f32852d9ee8a3c6cf0075dc227d /cross | |
parent | 13b5f3ca2be543df8405ada62b555c89a1d68c8e (diff) | |
download | pkgsrc-133c1f00ba6bd1ea5e57a48aa0e611bcb648daa6.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" |