[SR-986] Building swift-llvm fails when using build-script to cross compile due to multiple -isysroot arguments being in CFLAGS #43598
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
build-script
Area → utils: The build script
compiler
The Swift compiler in itself
Environment
Mac OS X 10.11.3 x86_64
Additional Detail from JIRA
md5: dac935f9361815f3632d928d9eb42586
Issue Description:
Building swift-llvm fails when using build-script to cross compile because build-script wrongly gives duplicate -isysroot arguments.
The full arguments that are given to clang by build-script while building LLVM are here: https://gist.github.com/ahyattdev/8ecc5d3808b9ee543a60
The command I use to build the compiler, using the latest sources from GitHub
This error occurs after the phase of building llvm for the host machine, and occurs during the cross compilation phase.
The text was updated successfully, but these errors were encountered: