Created
December 6, 2012 15:34
-
-
Save rnestler/4225373 to your computer and use it in GitHub Desktop.
OpenNI / SensorKinect ARM patches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Platform/Linux/Build/Common/Platform.Arm b/Platform/Linux/Build/Common/Platform.Arm | |
index c85cfb7..3ceb00c 100644 | |
--- a/Platform/Linux/Build/Common/Platform.Arm | |
+++ b/Platform/Linux/Build/Common/Platform.Arm | |
@@ -1,7 +1,7 @@ | |
ifeq "$(CFG)" "Release" | |
# Hardware specifying flags | |
- CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8 | |
+ CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard #-mcpu=cortex-a8 | |
# Optimization level, minus currently buggy optimizing methods (which break bit-exact) | |
CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Platform/Linux/Build/Common/Platform.Arm b/Platform/Linux/Build/Common/Platform.Arm | |
index 32cc34d..c4011a8 100644 | |
--- a/Platform/Linux/Build/Common/Platform.Arm | |
+++ b/Platform/Linux/Build/Common/Platform.Arm | |
@@ -1,7 +1,7 @@ | |
ifeq "$(CFG)" "Release" | |
# Hardware specifying flags | |
- CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8 | |
+ CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard #-mcpu=cortex-a8 | |
# Optimization level, minus currently buggy optimizing methods (which break bit-exact) | |
CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment