Skip to content

Add an __LLVM,__asm section for clang builds on ARM - #319

Merged
ctruta merged 1 commit into
pnggroup:libpng16from
dnfield:llvm
May 18, 2020
Merged

ctruta merged 1 commit into
pnggroup:libpng16from
dnfield:llvm

Conversation

@dnfield

@dnfield dnfield commented Aug 26, 2019

Copy link
Copy Markdown
Contributor

When building with upstream clang and using the -fembed-bitcode or -fembed-bitcode-marker, it expects to find this section. Without this section, the build will fail complaining that the object file doesn't have bitcode.

For unknown reasons, the Xcode version of clang does not need this to compile with bitcode, but it doesn't hurt anything to have it in that case.

@ctruta
ctruta merged commit a6fc803 into pnggroup:libpng16 May 18, 2020
@dnfield
dnfield deleted the llvm branch June 2, 2021 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants