[llvm-commits] [llvm] r62987 - in /llvm/trunk/tools: Makefile lto/Makefile
Rafael Espindola
espindola at google.com
Mon Jan 26 00:59:23 PST 2009
Thanks :-)
2009/1/26 Nick Lewycky <nicholas at mxc.ca>:
> Author: nicholas
> Date: Sun Jan 25 21:04:57 2009
> New Revision: 62987
>
> URL: http://llvm.org/viewvc/llvm-project?rev=62987&view=rev
> Log:
> Build libLTO on any platform so long as PIC is enabled.
>
> Modified:
> llvm/trunk/tools/Makefile
> llvm/trunk/tools/lto/Makefile
>
> Modified: llvm/trunk/tools/Makefile
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/Makefile?rev=62987&r1=62986&r2=62987&view=diff
>
> ==============================================================================
> --- llvm/trunk/tools/Makefile (original)
> +++ llvm/trunk/tools/Makefile Sun Jan 25 21:04:57 2009
> @@ -25,8 +25,7 @@
>
> include $(LEVEL)/Makefile.config
>
> -# only build new lto project on Darwin for now
> -ifeq ($(OS),Darwin)
> +ifeq ($(ENABLE_PIC),1)
> PARALLEL_DIRS += lto
> endif
>
>
> Modified: llvm/trunk/tools/lto/Makefile
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/Makefile?rev=62987&r1=62986&r2=62987&view=diff
>
> ==============================================================================
> --- llvm/trunk/tools/lto/Makefile (original)
> +++ llvm/trunk/tools/lto/Makefile Sun Jan 25 21:04:57 2009
> @@ -16,12 +16,8 @@
> include $(LEVEL)/Makefile.config
>
> LINK_LIBS_IN_SHARED = 1
> -ifeq ($(OS),Darwin)
> - SHARED_LIBRARY = 1
> - DONT_BUILD_RELINKED = 1
> -else
> - BUILD_ARCHIVE = 1
> -endif
> +SHARED_LIBRARY = 1
> +DONT_BUILD_RELINKED = 1
>
> LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
More information about the llvm-commits
mailing list