Added a warning about changing the CHOST setting for bug #142034.
authorChris Gianelloni <wolf31o2@gentoo.org>
Fri, 3 Nov 2006 21:18:45 +0000 (21:18 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Fri, 3 Nov 2006 21:18:45 +0000 (21:18 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1181 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/generic_stage_target.py

index efb30091356a308d3b585dae138d03a1bfc37389..7e007f4fd6b8642a3780de2a705ea4a22eaa9507 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.664 2006/10/02 20:41:53 wolf31o2 Exp $
 
+  03 Nov 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  modules/generic_stage_target.py:
+  Added a warning about changing the CHOST setting for bug #142034.
+
   11 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> AUTHORS,
   modules/generic_stage_target.py, targets/stage1/stage1-controller.sh,
   targets/support/chroot-functions.sh:
index b5b2e7ece176a5c4e771eb5204cda2b3663b8605..a52ff19e83ed60f2db1cdca018d7ab6cf6d2054e 100644 (file)
@@ -876,8 +876,6 @@ class generic_stage_target(generic_target):
                        myf.write("# These settings were set by the catalyst build script that automatically\n# built this stage.\n")
                        myf.write("# Please consult /etc/make.conf.example for a more detailed example.\n")
                        myf.write('CFLAGS="'+self.settings["CFLAGS"]+'"\n')
-                       myf.write('CHOST="'+self.settings["CHOST"]+'"\n')
-                   
                        if self.settings.has_key("CXXFLAGS"):
                                myf.write('CXXFLAGS="'+self.settings["CXXFLAGS"]+'"\n')
                        else:
@@ -885,7 +883,9 @@ class generic_stage_target(generic_target):
                    
                        if self.settings.has_key("LDFLAGS"):
                                myf.write('LDFLAGS="'+self.settings["LDFLAGS"]+'"\n')
-
+                       myf.write("# This should not be changed unless you know exactly what you are doing.  You\n# should probably be using a different stage, instead.\m")
+                       myf.write('CHOST="'+self.settings["CHOST"]+'"\n')
+                   
                    # Figure out what our USE vars are for building
                        myusevars=[]
                        if self.settings.has_key("HOSTUSE"):