Skip to content

Commit a6cffac

Browse files
committed
Updated cflags
1 parent 0aa28e0 commit a6cffac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ IF (WIN32)
55
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Od /W3")
66
ELSE()
77
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall")
8-
ENDIF()
9-
108
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_XUTILS_USE_GNU -D_ASSERT_TIMED")
9+
ENDIF()
1110

1211
set(XUTILS_INSTALL_PREFIX "/usr/local")
1312
string(SUBSTRING "${XUTILS_INSTALL_PREFIX}" 0 2 PREFIX_START)

0 commit comments

Comments
 (0)