Hi,
attached is a patch which fixes the build of clang-wpa which lives in
the examples directory.
Maybe the buildbots should compile clang with CLANG_BUILD_EXAMPLES=ON to
detect these kind of errors...
Cornelius
>From 60a2ef9f2b3b497585c54ae6bae0626b36881037 Mon Sep 17 00:00:00 2001
From: Cornelius Riemenschneider <[email protected]>
Date: Tue, 15 Dec 2009 17:57:23 +0100
Subject: [PATCH] Fix the build for the example clang-wpa, it failed to link with an undefined reference to LLVMContext::~LLVMContext before.
---
examples/wpa/CMakeLists.txt | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git examples/wpa/CMakeLists.txt examples/wpa/CMakeLists.txt
index b3d49cb..1377c73 100644
--- examples/wpa/CMakeLists.txt
+++ examples/wpa/CMakeLists.txt
@@ -12,15 +12,10 @@ set(LLVM_USED_LIBS
clangBasic)
set( LLVM_LINK_COMPONENTS
- bitreader
mc
core
)
-set( LLVM_LINK_COMPONENTS
- mc
- )
-
add_clang_executable(clang-wpa
clang-wpa.cpp
)
--
1.6.2.2
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits