projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed -fno-strict-aliasing flag (experimental)
[libcds.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 8c6c125cce6aceeeaaf641a1155b9334275bf940..b72880b1f7de3b19d5f7f03ddd801f3bd3c2d824 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-112,7
+112,7
@@
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
message("C++ std: -std=c++11 (default)")
endif()
message("C++ std: -std=c++11 (default)")
endif()
- list(APPEND LIBCDS_PUBLIC_CXX_FLAGS "-fno-strict-aliasing")
+
#
list(APPEND LIBCDS_PUBLIC_CXX_FLAGS "-fno-strict-aliasing")
list(APPEND LIBCDS_PRIVATE_CXX_FLAGS "-Wall" "-Wextra" "-pedantic")
if(CMAKE_TARGET_ARCHITECTURE STREQUAL "x86_64")
list(APPEND LIBCDS_PRIVATE_CXX_FLAGS "-Wall" "-Wextra" "-pedantic")
if(CMAKE_TARGET_ARCHITECTURE STREQUAL "x86_64")