2015-03-11 18:15:34 +01:00
|
|
|
From 9ff39800cec5f1dabba246b253794582d611bc6d Mon Sep 17 00:00:00 2001
|
2014-04-23 12:16:46 +02:00
|
|
|
From: Baruch Siach <baruch@tkos.co.il>
|
2015-03-11 18:15:34 +01:00
|
|
|
Date: Fri, 20 Feb 2015 10:44:15 -0600
|
2014-04-23 12:16:46 +02:00
|
|
|
Subject: [PATCH] CMakeLists: don't hard code thumb code generation
|
|
|
|
|
2015-03-11 18:15:34 +01:00
|
|
|
Migrating to version 1.2.0
|
|
|
|
|
2014-04-23 12:16:46 +02:00
|
|
|
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
2015-03-11 18:15:34 +01:00
|
|
|
Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
|
2014-04-23 12:16:46 +02:00
|
|
|
---
|
|
|
|
CMakeLists.txt | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2015-03-11 18:15:34 +01:00
|
|
|
index fdf01ec..34ae26e 100644
|
2014-04-23 12:16:46 +02:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2015-03-11 18:15:34 +01:00
|
|
|
@@ -84,7 +84,7 @@ if(ANDROID_PLATFORM)
|
|
|
|
${ANDROID_TOOLCHAIN_PATH}/arm-linux-androideabi-ar
|
|
|
|
${ANDROID_TOOLCHAIN_PATH}/arm-linux-androideabi-ranlib")
|
2014-04-23 12:16:46 +02:00
|
|
|
elseif(GNULINUX_PLATFORM)
|
2015-03-11 18:15:34 +01:00
|
|
|
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mthumb-interwork -mthumb -march=armv7-a -mfpu=vfp3")
|
|
|
|
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mthumb-interwork -march=armv7-a -mfpu=vfp3")
|
|
|
|
set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -mthumb-interwork -mthumb -march=armv7-a -mfpu=neon")
|
2014-04-23 12:16:46 +02:00
|
|
|
elseif(IOS_PLATFORM)
|
|
|
|
#set minimal target ios version.If not provided this option, Xcode
|
|
|
|
--
|
2015-03-11 18:15:34 +01:00
|
|
|
1.9.1
|
2014-04-23 12:16:46 +02:00
|
|
|
|