aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-11-14 17:11:32 (GMT)
committerMichael Palimaka <kensington@gentoo.org>2012-11-14 17:26:55 (GMT)
commitaa16c05452e3471adfef3a7c32298f204118e4b9 (patch)
treec4899c80129897b9ca482813e3c48d914fd3b14b
parent[stabilization] Bump konqueror stable target to -r1 (diff)
downloadkde-aa16c05452e3471adfef3a7c32298f204118e4b9.zip
kde-aa16c05452e3471adfef3a7c32298f204118e4b9.tar.gz
kde-aa16c05452e3471adfef3a7c32298f204118e4b9.tar.bz2
[eclass] Add experimental support for assembler *FLAGS respect, wrt bug #432480.
-rw-r--r--eclass/cmake-utils.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index eb14999..a824797 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -356,6 +356,7 @@ enable_cmake-utils_src_configure() {
local build_rules=${CMAKE_BUILD_DIR}/gentoo_rules.cmake
cat > "${build_rules}" <<- _EOF_
SET (CMAKE_AR $(type -P $(tc-getAR)) CACHE FILEPATH "Archive manager" FORCE)
+ SET (CMAKE_ASM_COMPILE_OBJECT "<CMAKE_C_COMPILER> <DEFINES> ${CFLAGS} <FLAGS> -o <OBJECT> -c <SOURCE>" CACHE STRING "ASM compile command" FORCE)
SET (CMAKE_C_COMPILER $(type -P $(tc-getCC)) CACHE FILEPATH "C compiler" FORCE)
SET (CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER> <DEFINES> ${CPPFLAGS} <FLAGS> -o <OBJECT> -c <SOURCE>" CACHE STRING "C compile command" FORCE)
SET (CMAKE_CXX_COMPILER $(type -P $(tc-getCXX)) CACHE FILEPATH "C++ compiler" FORCE)