Improve flag passing for debug-symbols
This commit is contained in:
parent
d195f22522
commit
91065b9ddd
@ -879,9 +879,11 @@ class FormulaInstaller
|
||||
args << "--debug" if debug?
|
||||
args << "--cc=#{@cc}" if @cc
|
||||
args << "--keep-tmp" if keep_tmp?
|
||||
args << "--debug-symbols" if debug_symbols?
|
||||
# Avoids dependecy error on flag
|
||||
args << "--build-from-source" if build_from_source? && debug_symbols?
|
||||
|
||||
if debug_symbols?
|
||||
args << "--debug-symbols"
|
||||
args << "--build-from-source"
|
||||
end
|
||||
|
||||
if @env.present?
|
||||
args << "--env=#{@env}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user