From: Philipp Brüschweiler Date: Sun, 16 Oct 2011 10:33:34 +0000 (+0200) Subject: GNUmakefile: add linker option --no-as-needed, fixes #266 X-Git-Tag: 0.97~3779 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=3c5e41599d15b1b30e93db752e8099a6697b1bce GNUmakefile: add linker option --no-as-needed, fixes #266 --- diff --git a/GNUmakefile b/GNUmakefile index 29971775a4..e87ed29f98 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -7,7 +7,7 @@ ifdef CONFIG BUNDLE = Factor.app LIBPATH = -L/usr/X11R6/lib - CFLAGS = -Wall $(SITE_CFLAGS) + CFLAGS = -Wall -Wl,--no-as-needed $(SITE_CFLAGS) ifdef DEBUG CFLAGS += -g -DFACTOR_DEBUG