[Bug 841475] [NEW] Modify rules.defs to use both GCC_TARGET in addition to DEB_TARGET_GNU_TYPE if both are specified

Tim Hentenaar 841475 at bugs.launchpad.net
Mon Sep 5 02:20:41 UTC 2011


Public bug reported:

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.

** Affects: gcc-4.5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.5 in Ubuntu.
https://bugs.launchpad.net/bugs/841475

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

Status in “gcc-4.5” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/841475/+subscriptions




More information about the foundations-bugs mailing list