From b3c9a1a53eca4dc799316b31d11c5bdfe204fad0 Mon Sep 17 00:00:00 2001 From: Michael Obster Date: Fri, 26 Nov 2004 02:56:05 +0000 Subject: [PATCH] Michael Obster : gcc: only do the boehm-gc trick to not install the gc headers on compiler versions with major version 3 or above [2004110517561727994] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4824 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/gcc/gcc.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/base/gcc/gcc.conf b/package/base/gcc/gcc.conf index f57961ca3..aa702efde 100644 --- a/package/base/gcc/gcc.conf +++ b/package/base/gcc/gcc.conf @@ -144,7 +144,9 @@ custmain() { fi # do not install gc headers - sed -i 's, install-includeHEADERS,,;' ../boehm-gc/include/Makefile.in + if [ "$xpkg" != "gcc2" ] ; then + sed -i 's, install-includeHEADERS,,;' ../boehm-gc/include/Makefile.in + fi # In stage 1 everything is a little bit more complicated #