Skip to content

Commit 17fcb18

Browse files
author
zhujiashun
committed
Add -D__STRICT_ANSI__ to suppress the error '__float128' is not yet implemented
1 parent 2ef9d93 commit 17fcb18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set(CMAKE_CPP_FLAGS "-DGFLAGS_NS=${GFLAGS_NS}")
2-
set(CMAKE_CXX_FLAGS "${CMAKE_CPP_FLAGS} -DNDEBUG -O2 -D__const__= -pipe -W -Wall -Wno-unused-parameter -fPIC -fno-omit-frame-pointer")
2+
set(CMAKE_CXX_FLAGS "${CMAKE_CPP_FLAGS} -DNDEBUG -O2 -D__const__= -D__STRICT_ANSI__ -pipe -W -Wall -Wno-unused-parameter -fPIC -fno-omit-frame-pointer")
33
use_cxx11()
44
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/output/bin)
55

0 commit comments

Comments
 (0)