← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3982: Add -fext-numeric-literals to fix FTBFS against boost_1.62

 

------------------------------------------------------------
revno: 3982
committer: Anton Gladky <gladk@xxxxxxxxxx>
timestamp: Sat 2016-12-03 12:19:23 +0100
message:
  Add -fext-numeric-literals to fix FTBFS against boost_1.62
  
  Debian bug #845742: https://bugs.debian.org/845742
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	2016-09-25 08:55:02 +0000
+++ CMakeLists.txt	2016-12-03 11:19:23 +0000
@@ -73,7 +73,7 @@
   ENDIF()
 ENDIF()
 
-SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -fPIC -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -std=c++11 ")
+SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -fPIC -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -std=c++11 -fext-numeric-literals")
 
 IF (DEBUG)
   SET(CMAKE_VERBOSE_MAKEFILE 1)