From 7a8beac1c2f7586c45bd0e6527a9410b4adfb8ae Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 31 Dec 2021 00:45:51 +0900 Subject: [PATCH] [Mach-O] Remove homebrew paths from -L and -I flags 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. --- Makefile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Makefile b/Makefile index 72b90e3ca7..19b84688cd 100644 --- a/Makefile +++ b/Makefile @@ -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