~ubuntu-branches/ubuntu/hardy/gcj-4.2/hardy

« back to all changes in this revision

Viewing changes to debian/rules2

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-03-22 18:14:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080322181423-5jxbzq2l7uadwgjk
Tags: 4.2.3-2ubuntu5
Upload as gcj-4.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
# the recipient for the test summaries. Send with: debian/rules mail-summary
71
71
S_EMAIL = gcc@packages.debian.org gcc-testresults@gcc.gnu.org
72
72
 
73
 
# don't use these for now
74
 
unexport CPPFLAGS CFLAGS CXXFLAGS FFLAGS LDFLAGS
 
73
# build not yet prepared to take variables from the environment
 
74
define unsetenv
 
75
  unexport $(1)
 
76
  $(1) =
 
77
endef
 
78
$(foreach v, CPPFLAGS CFLAGS CXXFLAGS FFLAGS LDFLAGS, $(if $(filter environment,$(origin $(v))),$(eval $(call unsetenv, $(v)))))
75
79
 
76
80
CC      = $(if $(filter yes,$(with_ada)),gcc-4.1,gcc)
77
81