On 30.04.2010 19:51, Kyle Moffett wrote:
Package: gcc-4.4
Version: 4.4.2-9
Severity: normal
Tags: patch sid

If "CC" is left unset, it defaults to "cc" and causes the compiler to
be built to run on the build system instead of on the host.

Signed-off-by: Kyle Moffett<[email protected]>
---
  debian/rules2 |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/rules2 b/debian/rules2
index 623eefb..252c671 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -82,6 +82,8 @@ $(foreach v, CPPFLAGS CFLAGS CXXFLAGS FFLAGS LDFLAGS, $(if 
$(filter environment,

  ifneq ($(REVERSE_CROSS),yes)
    CC  = $(if $(filter yes,$(with_ada)),gnatgcc,gcc)
+else
+  CC    =
  endif

  ifneq ($(distribution),Ubuntu)

the patch in this form breaks the native build



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to