Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 395444 Details for
Bug 538648
dev-util/catalyst: Support overriding CHOST/CFLAGS/CXXFLAGS/LDFLAGS in stage3 target
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Catalyst stage3 target overrides
catalyst-2.0.18-p1-stage3-overrides.patch (text/plain), 1.16 KB, created by
Joshua Kinard
on 2015-02-03 11:26:10 UTC
(
hide
)
Description:
Catalyst stage3 target overrides
Filename:
MIME Type:
Creator:
Joshua Kinard
Created:
2015-02-03 11:26:10 UTC
Size:
1.16 KB
patch
obsolete
>diff -Naurp catalyst-2.0.18.orig/modules/stage3_target.py catalyst-2.0.18.stage3-fixes/modules/stage3_target.py >--- catalyst-2.0.18.orig/modules/stage3_target.py 2015-01-08 23:44:23.000000000 -0500 >+++ catalyst-2.0.18.stage3-fixes/modules/stage3_target.py 2015-02-03 03:50:33.911656649 -0500 >@@ -12,9 +12,25 @@ class stage3_target(generic_stage_target > """ > def __init__(self,spec,addlargs): > self.required_values=[] >- self.valid_values=[] >+ self.valid_values=["chost"] > generic_stage_target.__init__(self,spec,addlargs) > >+ def override_chost(self): >+ if "chost" in self.settings: >+ self.settings["CHOST"]=list_to_string(self.settings["chost"]) >+ >+ def override_cflags(self): >+ if "cflags" in self.settings: >+ self.settings["CFLAGS"]=list_to_string(self.settings["cflags"]) >+ >+ def override_cxxflags(self): >+ if "cxxflags" in self.settings: >+ self.settings["CXXFLAGS"]=list_to_string(self.settings["cxxflags"]) >+ >+ def override_ldflags(self): >+ if "ldflags" in self.settings: >+ self.settings["LDFLAGS"]=list_to_string(self.settings["ldflags"]) >+ > def set_portage_overlay(self): > generic_stage_target.set_portage_overlay(self) > if "portage_overlay" in self.settings:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 538648
: 395444