test: Fix ENV.cxx11

ENV.cxx11 in a test block fails on Linux with
Error: ibex: failed
An exception occurred within a child process:
NoMethodError: undefined method `non_apple_gcc_version'
See for example brew test ibex on Linux.
This commit is contained in:
Shaun Jackman 2018-12-13 15:46:12 -08:00
parent 99c7e9d4ce
commit d75f5dacfa

View File

@ -320,7 +320,7 @@ module SharedEnvExtension
return if compiler_any_clang?(cc)
version = if cc == :gcc
non_apple_gcc_version "gcc"
DevelopmentTools.non_apple_gcc_version "gcc"
else
cc[/^gcc-(\d+(?:\.\d+)?)$/, 1]
end