Update gcc path for Solaris
parent
b76849d64e
commit
28f23a842a
|
@ -95,7 +95,8 @@ module System
|
|||
def has_gcc?
|
||||
# /usr/sfw/bin - default gcc path on some systems
|
||||
# /opt/sfw/bin - default gcc path for gcc package
|
||||
command_exists?('gcc') || command_exists?('/usr/sfw/bin/gcc') || command_exists?('/opt/sfw/bin/gcc')
|
||||
# /opt/csw/bin - default gcc path for OpenCSW gcc package
|
||||
command_exists?('gcc') || command_exists?('/usr/sfw/bin/gcc') || command_exists?('/opt/sfw/bin/gcc') || command_exists?('/opt/csw/bin/gcc')
|
||||
rescue
|
||||
raise 'Unable to check for gcc'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue