~ubuntu-branches/ubuntu/vivid/gccgo-5/vivid-updates

« back to all changes in this revision

Viewing changes to debian/rules2

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-03-29 16:38:06 UTC
  • Revision ID: package-import@ubuntu.com-20150329163806-lfnot0ecq0dympfb
Tags: 5-20150328-0ubuntu2
Fix the merge from the gcc-5 source package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
ifeq ($(REVERSE_CROSS),yes)
88
88
  CC    =
89
89
else
90
 
  CC    = $(if $(filter yes,$(with_ada)),gnatgcc,gcc)
91
 
  ifneq (,$(filter $(DEB_TARGET_ARCH), arm64))
92
 
    CC  = gcc-4.9
 
90
  ifeq ($(with_ada),yes)
 
91
    ifneq (,$(wildcard /usr/bin/gnatgcc))
 
92
      CC = gnatgcc
 
93
    else
 
94
      CC = gcc
 
95
    endif
 
96
  else
 
97
      CC = gcc
93
98
  endif
94
99
endif
95
100
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_TARGET_GNU_TYPE))