projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbf4efd
)
cmake-utils.eclass: Unset BUILD_TYPE-specific ASM flags
author
Michał Górny
<mgorny@gentoo.org>
Thu, 1 Dec 2016 08:02:08 +0000
(09:02 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Thu, 1 Dec 2016 22:39:35 +0000
(23:39 +0100)
eclass/cmake-utils.eclass
patch
|
blob
|
history
diff --git
a/eclass/cmake-utils.eclass
b/eclass/cmake-utils.eclass
index 784ae44b6812ed6392cd5413128081041079668f..c3de62265244c24f39cf4f3f854e436c86b40c60 100644
(file)
--- a/
eclass/cmake-utils.eclass
+++ b/
eclass/cmake-utils.eclass
@@
-604,6
+604,7
@@
enable_cmake-utils_src_configure() {
# Wipe the default optimization flags out of CMake
if [[ ${CMAKE_BUILD_TYPE} != Gentoo ]] && ! has "${EAPI}" 2 3 4 5; then
cat >> ${common_config} <<- _EOF_ || die
+ SET (CMAKE_ASM_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "")
SET (CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "")
SET (CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "")
SET (CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "")