From b60abb629896346ac060a8beec44142c22475697 Mon Sep 17 00:00:00 2001 From: Peter Soetens Date: Mon, 17 Dec 2012 00:50:54 +0100 Subject: [PATCH] dyncall: forcibly compile with gcc Dyncall 0.6 contains gcc specific assembler code. Upgrading to 0.7 fixed that but caused other regressions in the typelib unit tests. Signed-off-by: Peter Soetens --- bindings/ruby/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/ruby/CMakeLists.txt b/bindings/ruby/CMakeLists.txt index eae9714..a670464 100644 --- a/bindings/ruby/CMakeLists.txt +++ b/bindings/ruby/CMakeLists.txt @@ -29,7 +29,7 @@ IF(ENABLE_DYNCALL) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dyncall-0.6.tar.gz) ADD_CUSTOM_COMMAND(OUTPUT ${DYNCALL_LIBRARIES} - COMMAND $(MAKE) -j1 "CFLAGS=-O3 -fPIC" + COMMAND $(MAKE) -j1 "CFLAGS=-O3 -fPIC" "CC=gcc" COMMAND $(MAKE) -j1 install DEPENDS ${DYNCALL_SOURCE_DIR}/ConfigVars WORKING_DIRECTORY ${DYNCALL_SOURCE_DIR}) -- 1.7.9.5