changeset 3:c8d426776bbc

Make sure source compile with c89 flag.
author Mario Torre <neugens.limasoftware@gmail.com>
date Thu, 03 Mar 2011 22:22:21 +0100
parents 6f5f76ece252
children 6bf547732fad
files icedrobot/cmake.patch
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/icedrobot/cmake.patch	Fri Feb 18 23:18:53 2011 +0100
+++ b/icedrobot/cmake.patch	Thu Mar 03 22:22:21 2011 +0100
@@ -1,6 +1,6 @@
 diff --git a/CMakeLists.txt b/CMakeLists.txt
 new file mode 100644
-index 0000000..eea5489
+index 0000000..0918860
 --- /dev/null
 +++ b/CMakeLists.txt
 @@ -0,0 +1,25 @@
@@ -15,7 +15,7 @@
 +include("${CMAKE_SOURCE_DIR}/../../icedrobot/make/CMakeLists.txt")
 +
 +# gcc flags
-+add_definitions(-std=gnu99)
++add_definitions(-std=gnu89)
 +
 +include_directories (
 +"${CMAKE_CURRENT_SOURCE_DIR}"
@@ -29,4 +29,3 @@
 +)
 +
 +add_library (dvm SHARED ${SOURCES})
-\ No newline at end of file