[llvm-commits] [polly] r145074 - /polly/trunk/lib/Makefile
Tobias Grosser
grosser at fim.uni-passau.de
Tue Nov 22 11:40:31 PST 2011
Author: grosser
Date: Tue Nov 22 13:40:31 2011
New Revision: 145074
URL: http://llvm.org/viewvc/llvm-project?rev=145074&view=rev
Log:
autoconf: Change order of linking files
This fixes (or hides) the problem of symbols not being available in the
autoconf build.
Modified:
polly/trunk/lib/Makefile
Modified: polly/trunk/lib/Makefile
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Makefile?rev=145074&r1=145073&r2=145074&view=diff
==============================================================================
--- polly/trunk/lib/Makefile (original)
+++ polly/trunk/lib/Makefile Tue Nov 22 13:40:31 2011
@@ -5,9 +5,6 @@
#
LEVEL :=..
-DIRS = Support
-USEDLIBS = pollysupport.a
-
LIBRARYNAME=LLVMPolly
LOADABLE_MODULE = 1
@@ -15,12 +12,18 @@
CPP.Flags += $(POLLY_INC)
-DIRS += Exchange
-USEDLIBS += pollyexchange.a
+DIRS = Exchange
+USEDLIBS = pollyexchange.a
DIRS += Analysis
USEDLIBS += pollyanalysis.a
+# This needs to be added after the files that use it, otherwise some functions
+# from pollysupport are not available. They will be eliminated if they are
+# not used at the time of linking pollysupport.a
+DIRS += Support
+USEDLIBS += pollysupport.a
+
DIRS += JSON
USEDLIBS += pollyjson.a
More information about the llvm-commits
mailing list