Ticket #44367: patch-Makefile.diff

File patch-Makefile.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)
  • Makefile

    old new  
    9898        4.8.0 4.8.1 4.8.2 4.8.3 \
    9999        4.9.0  \
    100100
    101 # supported clang versions:
    102 ALLOWED_clang_VERSIONS=\
    103         4.2.1 \
    104 
    105101# ----------------------
    106102
    107103COMPILER_INFO:=$(shell SOURCE_TOOLS/arb_compiler_version.pl $(A_CXX))
     
    118114endif
    119115
    120116ifeq ($(USE_CLANG),1)
    121 ALLOWED_COMPILER_VERSIONS=$(ALLOWED_clang_VERSIONS)
     117ALLOWED_COMPILER_VERSIONS=$(COMPILER_VERSION)
    122118else
    123119ALLOWED_COMPILER_VERSIONS=$(ALLOWED_gcc_VERSIONS)
    124120endif
     
    137133USE_GCC_47_OR_HIGHER:=
    138134USE_GCC_48_OR_HIGHER:=
    139135
     136ifeq ($(USE_CLANG),0)
    140137ifeq ($(USE_GCC_MAJOR),4)
    141138 ifeq ($(USE_GCC_MINOR),5)
    142139  ifneq ('$(findstring $(USE_GCC_PATCHLEVEL),23456789)','')
     
    154151  endif
    155152 endif
    156153else
     154 ifneq ('$(findstring $(USE_GCC_MAJOR),56789)','')
    157155 USE_GCC_452_OR_HIGHER:=yes
    158156 USE_GCC_47_OR_HIGHER:=yes
    159157 USE_GCC_48_OR_HIGHER:=yes
     158 endif
     159endif
    160160endif
    161161
    162162#---------------------- define special directories for non standard builds