Modify rules.defs to use both GCC_TARGET in addition to DEB_TARGET_GNU_TYPE if both are specified

Bug #841475 reported by Tim Hentenaar on 2011-09-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.5 (Ubuntu)

Bug Description

The patch attached to this bug modifies the rules.defs file so that -a$(GCC_TARGET) is specified in addition to -t$(DEB_TARGET_GNU_TYPE) when calling dpkg-architecture if both are defined. This behavior is only invoked if DEB_TARGET_GNU_TYPE is defined in the first place. This allows one to easily build for an arch (say, "sh4") and have the compiler be named "sh-elf" instead of "sh4-linux-gnu" without having to modify any of the tables used by dpkg-architecture.

Tim Hentenaar (hentenaar) wrote :

The attachment "Implementation" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers