easyconfigs-it4i/ARCHIVE/v/VTK-8.1.0-foss-2018a-Python-3.6.6.patch
Lukas Krupcik 182459da35 deleted: "a/ANSYS/\\"
deleted:    a/Anaconda2/Anaconda2-4.4.0.eb
	deleted:    a/Anaconda3/Anaconda3-2019.10.eb
	deleted:    a/Anaconda3/Anaconda3-4.4.0.eb
	deleted:    a/Anaconda3/Anaconda3-5.3.1.eb
	deleted:    a/Autotools/Autotools-20150215-GCC-6.3.0-2.27.eb
	deleted:    a/Autotools/Autotools-20170619.eb
	deleted:    a/Autotools/Autotools-20180311.eb
2022-05-05 11:22:37 +02:00

20 lines
1.2 KiB
Diff

--- ThirdParty/hdf5/vtkhdf5/CMakeLists.txt.org 2020-08-17 15:13:30.938786723 +0200
+++ ThirdParty/hdf5/vtkhdf5/CMakeLists.txt 2020-08-17 15:14:07.401037024 +0200
@@ -412,14 +412,14 @@
# timezone is not included in time.h on mingw if -std=c99
set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -finline-functions -fno-common")
else ()
- set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=c99 -finline-functions -fno-common")
+ set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=gnu99 -finline-functions -fno-common")
endif()
else (CMAKE_BUILD_TYPE MATCHES Debug)
if (WIN32)
# timezone is not included in time.h on mingw if -std=c99
set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -fomit-frame-pointer -finline-functions -fno-common")
else ()
- set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=c99 -fomit-frame-pointer -finline-functions -fno-common")
+ set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=gnu99 -fomit-frame-pointer -finline-functions -fno-common")
endif ()
endif (CMAKE_BUILD_TYPE MATCHES Debug)
endif (CMAKE_COMPILER_IS_GNUCC)