/[gentoo-x86]/dev-util/cmake/files/cmake-2.8.3-fix_assembler_test.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-2.8.3-fix_assembler_test.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jun 28 15:47:02 2012 UTC (2 years, 4 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove old versions and unused patches.

(Portage version: 2.1.11.3/cvs/Linux x86_64)

1 diff -urN cmake-2.8.3.orig/Tests/Assembler/CMakeLists.txt cmake-2.8.3/Tests/Assembler/CMakeLists.txt
2 --- cmake-2.8.3.orig/Tests/Assembler/CMakeLists.txt 2010-12-25 16:56:42.646163500 +0100
3 +++ cmake-2.8.3/Tests/Assembler/CMakeLists.txt 2010-12-25 20:18:17.156163502 +0100
4 @@ -11,8 +11,11 @@
5 enable_language(ASM-ATT OPTIONAL)
6 if(CMAKE_ASM-ATT_COMPILER_WORKS)
7 message(STATUS "Trying to enable ASM-ATT for Linux/x86 - succeeded")
8 - # this assembler file was created using gcc -S main.c
9 - set(SRCS main-linux-x86-gas.s)
10 + # generate assembler file
11 + execute_process(COMMAND ${CMAKE_C_COMPILER} -S
12 + "${CMAKE_CURRENT_SOURCE_DIR}/main.c" -o
13 + "${CMAKE_CURRENT_BINARY_DIR}/main-linux-x86-gas.s")
14 + set(SRCS ${CMAKE_CURRENT_BINARY_DIR}/main-linux-x86-gas.s)
15 endif(CMAKE_ASM-ATT_COMPILER_WORKS)
16 endif(CMAKE_SYSTEM MATCHES Linux OR CMAKE_SYSTEM MATCHES FreeBSD)
17 endif(NOT SRCS AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$")

  ViewVC Help
Powered by ViewVC 1.1.20