mirror of
https://github.com/danog/gllvm.git
synced 2024-11-30 06:08:58 +01:00
Warn rather than fail if the .o comes from, say assembly.
This commit is contained in:
parent
61a5de2894
commit
3de212139a
@ -26,6 +26,7 @@ before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||
- ${GLLVM_SRC}/.travis/install_llvm.sh
|
||||
- export PATH="/usr/local/opt/llvm/bin:$PATH"
|
||||
# if we have to use our own bottle again.
|
||||
# - export PATH="/usr/local/opt/llvm_lite/bin:$PATH"
|
||||
|
||||
|
||||
|
@ -609,7 +609,7 @@ func extractSectionDarwin(inputFile string) (contents []string) {
|
||||
}
|
||||
sectionContents, errContents := section.Data()
|
||||
if errContents != nil {
|
||||
LogFatal("Error reading the %s section of Mach-O file %s.", DarwinSectionName, inputFile)
|
||||
LogWarning("Error reading the %s section of Mach-O file %s.", DarwinSectionName, inputFile)
|
||||
}
|
||||
contents = strings.Split(strings.TrimSuffix(string(sectionContents), "\n"), "\n")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user