From d5672e7d85f95cf908bfaacc8df434ace57feae3 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Fri, 7 Mar 2008 18:23:21 +0000 Subject: [PATCH] Change the warning thrown into make.conf when someone uses LDFLAGS so it is less confusing. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1364 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 5 +++++ modules/generic_stage_target.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1338af64..ea5341ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 07 Mar 2008; Chris Gianelloni + modules/generic_stage_target.py: + Change the warning thrown into make.conf when someone uses LDFLAGS so it is + less confusing. + 05 Mar 2008; Chris Gianelloni modules/generic_stage_target.py: Merged ChangeLog.old and ChangeLog and added a note for myself to fix up the diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index e45aa56d..3ba5e73c 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -1056,7 +1056,7 @@ class generic_stage_target(generic_target): myf.write('CXXFLAGS="${CFLAGS}"\n') if self.settings.has_key("LDFLAGS"): - 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.\n") + myf.write("# LDFLAGS is unsupported. USE AT YOUR OWN RISK!\n") myf.write('LDFLAGS="'+self.settings["LDFLAGS"]+'"\n') if self.settings.has_key("CBUILD"): 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.\n") -- 2.26.2