You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@etch.apache.org by gr...@apache.org on 2010/09/23 09:35:39 UTC

svn commit: r1000344 - /incubator/etch/trunk/binding-c/runtime/c/CMakeLists.txt

Author: grandyho
Date: Thu Sep 23 07:35:39 2010
New Revision: 1000344

URL: http://svn.apache.org/viewvc?rev=1000344&view=rev
Log:
[ETCH-88] -m32 added for unix build. needed on apache's hudson


Modified:
    incubator/etch/trunk/binding-c/runtime/c/CMakeLists.txt

Modified: incubator/etch/trunk/binding-c/runtime/c/CMakeLists.txt
URL: http://svn.apache.org/viewvc/incubator/etch/trunk/binding-c/runtime/c/CMakeLists.txt?rev=1000344&r1=1000343&r2=1000344&view=diff
==============================================================================
--- incubator/etch/trunk/binding-c/runtime/c/CMakeLists.txt (original)
+++ incubator/etch/trunk/binding-c/runtime/c/CMakeLists.txt Thu Sep 23 07:35:39 2010
@@ -27,6 +27,7 @@ ENDIF (NOT ETCH_EXTERNAL_DEPENDS)
 # Set definitions
 IF (UNIX)
     add_definitions(-D_GNU_SOURCE -D_REENTRANT -DLINUX=2 -D__LINUX__)
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
 ENDIF (UNIX)
 add_definitions(-D_UNICODE -DUNICODE)