Use MacOS.locate and delete wrong comment
This commit is contained in:
parent
0de7f98b58
commit
b6a0b95380
@ -113,9 +113,8 @@ module Stdenv
|
|||||||
end
|
end
|
||||||
|
|
||||||
def gcc_4_0_1
|
def gcc_4_0_1
|
||||||
# we don't use locate because gcc 4.0 has not been provided since Xcode 4
|
self.cc = MacOS.locate("gcc-4.0")
|
||||||
self.cc = "#{MacOS.dev_tools_path}/gcc-4.0"
|
self.cxx = MacOS.locate("g++-4.0")
|
||||||
self.cxx = "#{MacOS.dev_tools_path}/g++-4.0"
|
|
||||||
set_cpu_cflags '-march=nocona -mssse3'
|
set_cpu_cflags '-march=nocona -mssse3'
|
||||||
@compiler = :gcc_4_0
|
@compiler = :gcc_4_0
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user