← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3646: Fix: CGAL ERROR: assertion violation!

 

------------------------------------------------------------
revno: 3646
committer: Janek Kozicki <janek@xxxxxxxxxx>
timestamp: Thu 2015-04-30 18:59:02 +0200
message:
  Fix: CGAL ERROR: assertion violation!
  
  The -frounding-math option was added in CMakeLists if gcc compiler is
  used.
modified:
  CMakeLists.txt


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt	2015-04-29 17:12:57 +0000
+++ CMakeLists.txt	2015-04-30 16:59:02 +0000
@@ -65,9 +65,9 @@
 ELSE()
   IF (GCC_VERSION VERSION_GREATER 4.9 OR GCC_VERSION VERSION_EQUAL 4.9)
     MESSAGE(STATUS "GCC Version >= 4.9. Adding -fstack-protector-strong")
-    ADD_DEFINITIONS("-fstack-protector-strong")
+    ADD_DEFINITIONS("-fstack-protector-strong -frounding-math")
   ELSE()
-    ADD_DEFINITIONS("-fstack-protector")
+    ADD_DEFINITIONS("-fstack-protector -frounding-math")
   ENDIF()
 ENDIF()