diff options
Diffstat (limited to 'recipes/llvm/llvm2.6/fix-build.patch')
-rw-r--r-- | recipes/llvm/llvm2.6/fix-build.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/llvm/llvm2.6/fix-build.patch b/recipes/llvm/llvm2.6/fix-build.patch new file mode 100644 index 0000000000..553965608a --- /dev/null +++ b/recipes/llvm/llvm2.6/fix-build.patch @@ -0,0 +1,13 @@ +Index: tools/llvm-config/CMakeLists.txt +=================================================================== +--- a/tools.orig/llvm-config/CMakeLists.txt 2009-04-09 10:45:01.000000000 +0200 ++++ b/tools/llvm-config/CMakeLists.txt 2009-04-09 10:43:52.000000000 +0200 +@@ -90,7 +90,7 @@ + add_custom_command(OUTPUT ${LLVM_CONFIG} + COMMAND echo 's!@LLVM_CPPFLAGS@!${CPP_FLGS}!' > temp.sed + COMMAND echo 's!@LLVM_CFLAGS@!${C_FLGS}!' >> temp.sed +- COMMAND echo 's!@LLVM_CXXFLAGS@!${CXX_FLGS}!' >> temp.sed ++ COMMAND echo 's!@LLVM_CXXFLAGS@!${CXX_FLGS} -fpermissive -fvisibility-inlines-hidden!' >> 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 |