A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'smpi-topo'
[simgrid.git]
/
buildtools
/
Cmake
/
Flags.cmake
diff --git
a/buildtools/Cmake/Flags.cmake
b/buildtools/Cmake/Flags.cmake
index
eb9d3f4
..
675587b
100644
(file)
--- a/
buildtools/Cmake/Flags.cmake
+++ b/
buildtools/Cmake/Flags.cmake
@@
-19,7
+19,7
@@
if(enable_compile_warnings)
endif()
endif()
endif()
endif()
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra
-Wno-unused-function -Wno-unused-parameter -Wno-strict-aliasing -Wno-format-nonliteral -Werror
")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Wall") # FIXME: Q&D hack
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Wall") # FIXME: Q&D hack
@@
-36,7
+36,7
@@
if(enable_compile_optimizations)
endif()
else()
# On non-windows, 4.6 is enough for that
endif()
else()
# On non-windows, 4.6 is enough for that
- if(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5")
+ if(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5"
AND LINKER_VERSION STRGREATER "2.22"
)
set(optCFLAGS "${optCFLAGS} -flto ")
endif()
endif()
set(optCFLAGS "${optCFLAGS} -flto ")
endif()
endif()