Ticket #44367: patch-Makefile.diff
File patch-Makefile.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago) |
---|
-
Makefile
old new 98 98 4.8.0 4.8.1 4.8.2 4.8.3 \ 99 99 4.9.0 \ 100 100 101 # supported clang versions:102 ALLOWED_clang_VERSIONS=\103 4.2.1 \104 105 101 # ---------------------- 106 102 107 103 COMPILER_INFO:=$(shell SOURCE_TOOLS/arb_compiler_version.pl $(A_CXX)) … … 118 114 endif 119 115 120 116 ifeq ($(USE_CLANG),1) 121 ALLOWED_COMPILER_VERSIONS=$( ALLOWED_clang_VERSIONS)117 ALLOWED_COMPILER_VERSIONS=$(COMPILER_VERSION) 122 118 else 123 119 ALLOWED_COMPILER_VERSIONS=$(ALLOWED_gcc_VERSIONS) 124 120 endif … … 137 133 USE_GCC_47_OR_HIGHER:= 138 134 USE_GCC_48_OR_HIGHER:= 139 135 136 ifeq ($(USE_CLANG),0) 140 137 ifeq ($(USE_GCC_MAJOR),4) 141 138 ifeq ($(USE_GCC_MINOR),5) 142 139 ifneq ('$(findstring $(USE_GCC_PATCHLEVEL),23456789)','') … … 154 151 endif 155 152 endif 156 153 else 154 ifneq ('$(findstring $(USE_GCC_MAJOR),56789)','') 157 155 USE_GCC_452_OR_HIGHER:=yes 158 156 USE_GCC_47_OR_HIGHER:=yes 159 157 USE_GCC_48_OR_HIGHER:=yes 158 endif 159 endif 160 160 endif 161 161 162 162 #---------------------- define special directories for non standard builds