Closed chenrui333 closed 1 year ago
it says ld: unknown option: -flto=full can you disable the switch?
We use the gcc linker by default.
that suggestion works for me.
@pjotrp removing the flag works for CI as well, thanks for the help! Closing the issue now.
👋 trying to build the latest release, but run into some build issue. The error log is as below:
error build log
``` ldc2 -wi -I. -I./BioD:./BioD/contrib/msgpack-d/src -g -J. -O3 -release -enable-inlining -boundscheck=off -L=-flto=full -of=bin/sambamba-1.0.1 bin/sambamba-1.0.1.o -L-lz -L-llz4 ld: unknown option: -flto=full clang: error: linker command failed with exit code 1 (use -v to see invocation) Error: /opt/homebrew/Library/Homebrew/shims/mac/super/gcc failed with status: 1 make: *** [bin/sambamba-1.0.1] Error 1 ```full build log, https://github.com/Homebrew/homebrew-core/actions/runs/5892800197/job/15983167246?pr=139677 relates to Homebrew/homebrew-core#139677