diff options
author | Robert Schuster <thebohemian@gmx.net> | 2009-03-25 11:16:35 +0100 |
---|---|---|
committer | Robert Schuster <thebohemian@gmx.net> | 2009-03-25 11:17:39 +0100 |
commit | 5575ee4e7a2b2313ae856c93327199600ff5803a (patch) | |
tree | c2b21927fd14e283f8ce58256671946e327bb9ac /recipes/llvm/llvm-2.5 | |
parent | 1476b9765624d62a30fadcd6a7a2abdaeea842e8 (diff) |
llvm 2.5: Updated patch to include preprocessor definitions.
Diffstat (limited to 'recipes/llvm/llvm-2.5')
-rw-r--r-- | recipes/llvm/llvm-2.5/fix-build.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/llvm/llvm-2.5/fix-build.patch b/recipes/llvm/llvm-2.5/fix-build.patch index 9430ad3cb8..527823c18c 100644 --- a/recipes/llvm/llvm-2.5/fix-build.patch +++ b/recipes/llvm/llvm-2.5/fix-build.patch @@ -1,7 +1,7 @@ Index: llvm-2.5/tools/llvm-config/CMakeLists.txt =================================================================== --- llvm-2.5.orig/tools/llvm-config/CMakeLists.txt 2009-01-07 20:24:44.000000000 +0100 -+++ llvm-2.5/tools/llvm-config/CMakeLists.txt 2009-03-23 12:49:10.000000000 +0100 ++++ llvm-2.5/tools/llvm-config/CMakeLists.txt 2009-03-23 13:45:24.000000000 +0100 @@ -83,13 +83,13 @@ COMMENT "Checking for cyclic dependencies between LLVM libraries.") @@ -10,8 +10,8 @@ Index: llvm-2.5/tools/llvm-config/CMakeLists.txt - COMMAND echo 's,@LLVM_CFLAGS@,${CMAKE_C_FLAGS},' >> temp.sed - COMMAND echo 's,@LLVM_CXXFLAGS@,${CMAKE_CXX_FLAGS},' >> temp.sed + COMMAND echo 's!@LLVM_CPPFLAGS@!${CMAKE_CPP_FLAGS}!' > temp.sed -+ COMMAND echo 's!@LLVM_CFLAGS@!${CMAKE_C_FLAGS} -D_GNU_SOURCE -D__STDC_LIMIT_MACROS!' >> temp.sed -+ COMMAND echo 's!@LLVM_CXXFLAGS@!${CMAKE_CXX_FLAGS} -D_GNU_SOURCE -D__STDC_LIMIT_MACROS!' >> temp.sed ++ COMMAND echo 's!@LLVM_CFLAGS@!${CMAKE_C_FLAGS} -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS!' >> temp.sed ++ COMMAND echo 's!@LLVM_CXXFLAGS@!${CMAKE_CXX_FLAGS} -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fpermissive -fvisibility-inlines-hidden -Woverloaded-virtual!' >> temp.sed # TODO: Use general flags for linking, not just for shared libs: - COMMAND echo 's,@LLVM_LDFLAGS@,${CMAKE_SHARED_LINKER_FLAGS},' >> temp.sed - COMMAND echo 's,@LIBS@,,' >> temp.sed # TODO: System libs |