소스 검색

fix for issue #1135 (ConeJoint causes rigid body to disappear)

Stephen Gold 6 년 전
부모
커밋
4bb8280fb2
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      jme3-bullet-native/build.gradle

+ 3 - 3
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"