lol
1From 1b5a6934635c55472eb7949bd87ab3f45fa1b2f3 Mon Sep 17 00:00:00 2001
2From: Michael Hoang <enzime@users.noreply.github.com>
3Date: Fri, 13 Jul 2018 19:01:51 +1000
4Subject: [PATCH] Remove --as-needed flag from ld to fix compilation on macOS.
5
6---
7 Makefile | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/Makefile b/Makefile
11index b115f42..ab301ba 100644
12--- a/Makefile
13+++ b/Makefile
14@@ -29,7 +29,7 @@ ifeq (${CXX}, clang++)
15 CXXFLAGS += -Wimplicit-fallthrough
16 endif
17
18-LDFLAGS := -s -Wl,--as-needed ${LDFLAGS}
19+LDFLAGS := -s -Wl ${LDFLAGS}
20 LDLIBS := ${shell pkg-config --libs ${GTK} ${VTE}}
21
22 termite: termite.cc url_regex.hh util/clamp.hh util/maybe.hh util/memory.hh
23--
242.17.1
25