projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc67f0
)
[CMake] Apply -ffunction-data-sectinos not only to CMAKE_CXX_FLAGS, but also to CMAKE...
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 28 Jan 2014 09:44:00 +0000
(09:44 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 28 Jan 2014 09:44:00 +0000
(09:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200300
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/HandleLLVMOptions.cmake
b/cmake/modules/HandleLLVMOptions.cmake
index 89122eee0b7dd9a1b605ed562de44e1b64fa99d9..09479561d8aa5ec7b2df1539a5bcce3eac84f4e4 100644
(file)
--- a/
cmake/modules/HandleLLVMOptions.cmake
+++ b/
cmake/modules/HandleLLVMOptions.cmake
@@
-356,6
+356,6
@@
endif()
# flags instead if LLVM_NO_DEAD_STRIP is set.
if(NOT CYGWIN AND NOT WIN32)
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- append("-ffunction-sections -fdata-sections" CMAKE_CXX_FLAGS)
+ append("-ffunction-sections -fdata-sections" CMAKE_C
_FLAGS CMAKE_C
XX_FLAGS)
endif()
endif()