~ubuntu-branches/ubuntu/trusty/gcc-snapshot/trusty

« back to all changes in this revision

Viewing changes to debian/rules.defs

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 15:54:10 UTC
  • mfrom: (135.1.31 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130620155410-17j3phwr0119qzgs
Tags: 20130620-1ubuntu1
Snapshot, taken from the trunk (20130603)

Show diffs side-by-side

added added

removed removed

Lines of Context:
667
667
    with_java_alsa := no
668
668
  endif
669
669
 
 
670
  # Just build the cross compiler to be able to cross build a native build.
 
671
  ifeq ($(DEB_CROSS),yes)
 
672
    with_libgcj :=
 
673
  endif
 
674
 
670
675
  enabled_languages += java
671
676
endif
672
677
 
686
691
  with_standalone_go := yes
687
692
endif
688
693
 
689
 
go_no_cpus := avr arm aarch64 hppa m68k sh4 sparc
 
694
go_no_cpus := avr arm arm64 hppa m68k sh4 sparc
690
695
ifeq (,$(filter $(distrelease),lenny etch squeeze dapper hardy jaunty karmic lucid maverick natty oneiric))
691
696
  go_no_cpus := $(filter-out arm, $(go_no_cpus))
692
697
endif
732
737
# D ---------------------------
733
738
d_no_cross := yes
734
739
d_no_snap := yes
 
740
d_no_cpus := s390
735
741
 
736
742
ifneq ($(single_package),yes)
737
743
  with_separate_gdc := yes
741
747
ifneq ($(separate_lang),yes)
742
748
  with_d := yes
743
749
endif
 
750
ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),$(d_no_cpus)))
 
751
  with_d := disabled for cpu $(DEB_TARGET_ARCH_CPU)
 
752
endif
744
753
ifeq ($(d_no_snap)-$(single_package),yes-yes)
745
754
  with_d := disabled for snapshot build
746
755
endif
 
756
with_d := $(call envfilt, d, , , $(with_d))
747
757
 
748
758
ifeq ($(with_base_only),yes)
749
759
  with_d := no
763
773
endif
764
774
 
765
775
ifeq ($(with_d),yes)
766
 
  libphobos_archs = amd64 i386 kfreebsd-amd64 kfreebsd-i386
 
776
  libphobos_archs = amd64 i386 x32 kfreebsd-amd64 kfreebsd-i386
767
777
  ifneq (,$(filter $(DEB_TARGET_ARCH), $(libphobos_archs)))
768
778
    with_libphobos := yes
769
779
  endif
770
780
 
771
 
  libphobos_no_cpus := alpha avr arm hppa ia64 m68k mips mipsel powerpc powerpcspe ppc64 s390 s390x sh4 sparc sparc64
772
 
  libphobos_no_systems := gnu
 
781
  libphobos_no_cpus := alpha avr arm arm64 hppa ia64 m68k mips mipsel powerpc powerpcspe ppc64 s390 s390x sh4 sparc sparc64
 
782
  libphobos_no_systems := gnu kfreebsd-gnu
773
783
  ifneq (,$(findstring $(DEB_TARGET_ARCH_CPU),$(libphobos_no_cpus)))
774
784
    with_libphobos := disabled for cpu $(DEB_TARGET_ARCH_CPU)
775
785
  endif
1168
1178
ifneq ($(findstring nocheck, $(DEB_BUILD_OPTIONS)),)
1169
1179
  with_check := disabled by DEB_BUILD_OPTIONS
1170
1180
endif
 
1181
ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf hppa))
 
1182
  ifneq ($(single_package),yes)
 
1183
    with_check := disabled for $(DEB_HOST_ARCH), testsuite timeouts with expect
 
1184
  endif
 
1185
endif
1171
1186
#with_check := disabled for this upload
1172
1187
 
1173
1188
# not a dependency on all archs, but if available, use it for the testsuite
1287
1302
    ifeq ($(with_go),yes)
1288
1303
      biarch_multidir_names += libgo
1289
1304
    endif
 
1305
    ifeq ($(with_d),yes)
 
1306
      biarch_multidir_names += libphobos
 
1307
    endif
1290
1308
    export biarch_multidir_names
1291
1309
    ifneq (,$$(findstring 32,$1))
1292
1310
      TARGET64_MACHINE := $$(strip $$(subst $$(DEB_TARGET_GNU_CPU),$$(biarch_cpu), \
1628
1646
  define cross_mangle_substvars
1629
1647
  endef
1630
1648
  # precise's dh_shlibdeps doesn't work well for ARM multilibs
1631
 
  ifneq (,$(filter $(distrelease),precise))
1632
 
    ifneq (,$(filter $(DEB_TARGET_ARCH), armel armhf))
 
1649
  # and dh_shlibdeps doesn't work well for cross builds, see #698881.
 
1650
  ifneq (,$(filter $(distrelease),precise quantal raring))
 
1651
    ifneq (,$(filter $(DEB_TARGET_ARCH), armel armhf arm64))
1633
1652
      ignshld = -
1634
1653
    endif
1635
1654
  endif