Skip to content

Commit

Permalink
[Mach-O] Remove homebrew paths from -L and -I flags
Browse files Browse the repository at this point in the history
I added homebrew's library paths to -L and -I flags for libxxhash.
Now mold includes libxxhash as a subdirectory, we don't need it.
  • Loading branch information
rui314 committed Dec 30, 2021
1 parent b5172ca commit 7a8beac
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ ifeq ($(TSAN), 1)
LDFLAGS += -fsanitize=thread
endif

# Homebrew on macOS/ARM installs packages under /opt/homebrew
# instead of /usr/local
ifneq ($(wildcard /opt/homebrew/.),)
CPPFLAGS += -I/opt/homebrew/include
LIBS += -L/opt/homebrew/lib
endif

ifdef SYSTEM_TBB
LIBS += -ltbb
else
Expand Down

0 comments on commit 7a8beac

Please sign in to comment.