summaryrefslogtreecommitdiffstats
path: root/llvm/cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-01-02 12:30:18 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-01-02 12:30:18 +0000
commit3aea80b56443e42cfb64b207adbe9966da2f8914 (patch)
tree2255694d39f02c5410d46a5817ac17f16008ad77 /llvm/cmake
parent7f59c65e6e485172f7e64be0c38d79ab2988e898 (diff)
downloadbcm5719-llvm-3aea80b56443e42cfb64b207adbe9966da2f8914.tar.gz
bcm5719-llvm-3aea80b56443e42cfb64b207adbe9966da2f8914.zip
Propagate to parent scope changes made to CMAKE_CXX_FLAGS.
llvm-svn: 122692
Diffstat (limited to 'llvm/cmake')
-rw-r--r--llvm/cmake/modules/LLVMProcessSources.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/cmake/modules/LLVMProcessSources.cmake b/llvm/cmake/modules/LLVMProcessSources.cmake
index d9c14fbe837..092c2f795d3 100644
--- a/llvm/cmake/modules/LLVMProcessSources.cmake
+++ b/llvm/cmake/modules/LLVMProcessSources.cmake
@@ -54,6 +54,7 @@ function(llvm_process_sources OUT_VAR)
endif()
endif()
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" PARENT_SCOPE )
set( ${OUT_VAR} ${sources} PARENT_SCOPE )
endfunction(llvm_process_sources)
OpenPOWER on IntegriCloud