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
5e959e3
..
675587b
100644
(file)
--- a/
buildtools/Cmake/Flags.cmake
+++ b/
buildtools/Cmake/Flags.cmake
@@
-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()