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
Fix configure warning on mac
[simgrid.git]
/
buildtools
/
Cmake
/
Flags.cmake
diff --git
a/buildtools/Cmake/Flags.cmake
b/buildtools/Cmake/Flags.cmake
index
b5dcd80
..
a69b065
100644
(file)
--- a/
buildtools/Cmake/Flags.cmake
+++ b/
buildtools/Cmake/Flags.cmake
@@
-20,9
+20,9
@@
endif(enable_compile_warnings)
if(enable_compile_optimizations)
set(optCFLAGS "-O3 -finline-functions -funroll-loops -fno-strict-aliasing ")
if(enable_compile_optimizations)
set(optCFLAGS "-O3 -finline-functions -funroll-loops -fno-strict-aliasing ")
- if(
${COMPILER_C_VERSION_MAJOR_MINOR}
STRGREATER "4.5")
+ if(
COMPILER_C_VERSION_MAJOR_MINOR
STRGREATER "4.5")
set(optCFLAGS "${optCFLAGS}-flto ")
set(optCFLAGS "${optCFLAGS}-flto ")
- endif(
${COMPILER_C_VERSION_MAJOR_MINOR}
STRGREATER "4.5")
+ endif(
COMPILER_C_VERSION_MAJOR_MINOR
STRGREATER "4.5")
else(enable_compile_optimizations)
set(optCFLAGS "-O0 ")
endif(enable_compile_optimizations)
else(enable_compile_optimizations)
set(optCFLAGS "-O0 ")
endif(enable_compile_optimizations)