From 8d45f4f937322e0f1066df268eef825748b19bc8 Mon Sep 17 00:00:00 2001 From: piepie62 Date: Wed, 22 Apr 2020 18:48:58 -0400 Subject: [PATCH] God, I hate OSX --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c0f674b..267ad3c 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ BUILD_OFILES := $(addprefix $(BUILD)/, $(BUILD_OFILES)) DEPSFILES := $(BUILD_OFILES:.o=.d) LD := $(if $(CPPFILES),$(CXX),$(CC)) -LDFLAGS := -g -Wl,--gc-sections -lbz2 +LDFLAGS := -g -lbz2 ifeq ($(OS),Windows_NT) EXEC_NAME := gallerypack.exe @@ -43,7 +43,7 @@ LDFLAGS += -lstdc++fs endif ifneq ($(OS),Darwin) -LDFLAGS += -static +LDFLAGS += -static -Wl,--gc-sections endif .PHONY: all clean