Skip to content

Build failure with apple clang 14.0.3 on macOS 13.4 #6

@xu-shawn

Description

@xu-shawn
$ make
g++ -pthread -std=c++11 -Wall -Wextra -pipe obj/bitboard.o obj/eval.o obj/magic_moves.o obj/main.o obj/move.o obj/move_gen.o obj/perft.o obj/position.o obj/search.o obj/tt.o obj/uci.o -o bin/monochrome -pthread -Wl,--no-as-needed
ld: warning: directory not found for option '-L/Users/user/.local/lib'
ld: unknown option: --no-as-needed
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1

Removing -Wl,--no-as-needed in makefile fixes the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions