From 4bb8280fb2acbe9df5809290c8af3a4bb6992f1d Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Thu, 4 Jul 2019 08:29:30 -0700 Subject: [PATCH] fix for issue #1135 (ConeJoint causes rigid body to disappear) --- jme3-bullet-native/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jme3-bullet-native/build.gradle b/jme3-bullet-native/build.gradle index a6c346d0a..6dd60e8b6 100644 --- a/jme3-bullet-native/build.gradle +++ b/jme3-bullet-native/build.gradle @@ -108,13 +108,13 @@ model { if (os == "osx") { cppCompiler.args '-I', "$javaHome/include/darwin" - cppCompiler.args "-Ofast" + cppCompiler.args "-O3" cppCompiler.args "-U_FORTIFY_SOURCE" } else if (os == "linux") { cppCompiler.args "-fvisibility=hidden" cppCompiler.args '-I', "$javaHome/include/linux" cppCompiler.args "-fPIC" - cppCompiler.args "-Ofast" + cppCompiler.args "-O3" cppCompiler.args "-U_FORTIFY_SOURCE" cppCompiler.args "-fpermissive" linker.args "-fvisibility=hidden" @@ -127,7 +127,7 @@ model { } cppCompiler.args "-fpermissive" cppCompiler.args "-static" - cppCompiler.args "-Ofast" + cppCompiler.args "-O3" cppCompiler.args "-U_FORTIFY_SOURCE" linker.args "-static" linker.args "-Wl,--exclude-all-symbols"