]> gitweb.factorcode.org Git - factor.git/commitdiff
Move --no-as-needed to Config.linux since it breaks compilation on mac
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 19 Oct 2011 19:09:43 +0000 (12:09 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 19 Oct 2011 19:09:43 +0000 (12:09 -0700)
GNUmakefile
vm/Config.linux

index e87ed29f9818e3616205993cb710b45c0b44d9d6..29971775a46e670dff78fb1bafb9d3e3878c8639 100755 (executable)
@@ -7,7 +7,7 @@ ifdef CONFIG
        BUNDLE = Factor.app
        LIBPATH = -L/usr/X11R6/lib
 
-       CFLAGS = -Wall -Wl,--no-as-needed $(SITE_CFLAGS)
+       CFLAGS = -Wall $(SITE_CFLAGS)
 
        ifdef DEBUG
                CFLAGS += -g -DFACTOR_DEBUG
index 536e66dd031d7ed0c391d063ee249a691e750ac0..3a2539d930fa67ace7c40bc951e0d6638bb29d48 100644 (file)
@@ -1,3 +1,4 @@
 include vm/Config.unix
 PLAF_DLL_OBJS += vm/os-genunix.o vm/os-linux.o vm/mvm-unix.o
 LIBS = -ldl -lm -lrt -lpthread $(X11_UI_LIBS) -Wl,--export-dynamic
+SITE_CFLAGS += -Wl,--no-as-needed