changeset 582:723806dc48d8

Don't link in any target code, was unnecessary.
author Christian Kamm <kamm incasoftware de>
date Sun, 07 Sep 2008 16:16:10 +0200
parents 8a8ee1f6b268
children 12bda38ea366
files premake.lua
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/premake.lua	Sun Sep 07 15:30:34 2008 +0200
+++ b/premake.lua	Sun Sep 07 16:16:10 2008 +0200
@@ -5,13 +5,6 @@
 -- we always make vtables opaque, it simply kills performance...
 OPAQUE_VTBLS = 1
 
--- enables additional backends
-addoption("add-backend", "Link in more than the native LLVM backend")
-EXTRA_BACKENDS=""
-if options["add-backend"] then
-    EXTRA_BACKENDS=options["add-backend"]
-end
-
 -- use of boehm gc
 USE_BOEHM_GC = 0
 if OS ~= "windows" then
@@ -62,7 +55,7 @@
 package.buildoptions = { "-x c++", "`llvm-config --cxxflags`" }
 package.linkoptions = {
     -- long but it's faster than just 'all'
-    "`llvm-config --libs backend asmparser bitreader bitwriter linker ipo instrumentation " .. EXTRA_BACKENDS .. "`",
+    "`llvm-config --libs bitwriter linker ipo instrumentation`",
     "`llvm-config --ldflags`",
 }
 package.defines = {