Skip to content

Commit

Permalink
Merge pull request #116 from mateidavid/add-c++98-compile-and-link-flag
Browse files Browse the repository at this point in the history
Fix gcc6 issues - add explicit c++98 compile and link flag
  • Loading branch information
pezmaster31 authored Jun 29, 2016
2 parents 2720bba + d5c951f commit 4f0f36a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ set( LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/lib" )

# define compiler flags for all code
set( CMAKE_BUILD_TYPE Release )
set( CMAKE_CXX_FLAGS_RELEASE "-std=c++98 ${CMAKE_CXX_FLAGS_RELEASE}" )
add_definitions( -Wall -D_FILE_OFFSET_BITS=64 )

# -----------------------------------------------
Expand Down

0 comments on commit 4f0f36a

Please sign in to comment.