Merge pull request #13361 from EricFromCanada/superenv-blank-isysroot
superenv: avoid adding blank `--isysroot` flag
This commit is contained in:
commit
20c845d470
@ -232,7 +232,7 @@ class Cmd
|
|||||||
if mac?
|
if mac?
|
||||||
sdk ||= enum.next
|
sdk ||= enum.next
|
||||||
# We set the sysroot for macOS SDKs
|
# We set the sysroot for macOS SDKs
|
||||||
args << "-isysroot#{sdk}" unless sdk.downcase.include? "osx"
|
args << "-isysroot#{sdk}" if !sdk.downcase.include?("osx") && !sdk.empty?
|
||||||
else
|
else
|
||||||
args << arg
|
args << arg
|
||||||
args << enum.next unless sdk
|
args << enum.next unless sdk
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user