13 lines
660 B
Diff
13 lines
660 B
Diff
diff -up xmount-0.7.6/CMakeLists.txt.cflags xmount-0.7.6/CMakeLists.txt
|
|
--- xmount-0.7.6/CMakeLists.txt.cflags 2018-04-16 11:22:27.000000000 +0200
|
|
+++ xmount-0.7.6/CMakeLists.txt 2018-08-13 15:38:08.571593927 +0200
|
|
@@ -85,9 +85,6 @@ include_directories(${CMAKE_CURRENT_BINA
|
|
add_definitions(-D_LARGEFILE64_SOURCE)
|
|
add_definitions(-D_FILE_OFFSET_BITS=64)
|
|
add_definitions(-D_GNU_SOURCE)
|
|
-set(CMAKE_C_FLAGS "-fno-strict-aliasing -std=c99 -Wall")
|
|
-set(CMAKE_C_FLAGS_RELEASE "-O2 ${CMAKE_C_FLAGS}")
|
|
-set(CMAKE_C_FLAGS_DEBUG "-ggdb -O0 ${CMAKE_C_FLAGS}")
|
|
|
|
# Check that off_t can represent 2**63 - 1 correctly.
|
|
# If it can't, we need to set _FILE_OFFSET_BITS=64
|