Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
973e57a1
Commit
973e57a1
authored
Nov 20, 2014
by
Dan Lipsa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mingw release build.
Change-Id: I9e7042ea4f45c8759014616ea51f1d11bc303bb6
parent
14e8f637
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ThirdParty/hdf5/vtkhdf5/CMakeLists.txt
ThirdParty/hdf5/vtkhdf5/CMakeLists.txt
+6
-1
No files found.
ThirdParty/hdf5/vtkhdf5/CMakeLists.txt
View file @
973e57a1
...
...
@@ -412,7 +412,12 @@ if (CMAKE_COMPILER_IS_GNUCC)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_ANSI_CFLAGS
}
${
CMAKE_C_FLAGS
}
-std=c99 -finline-functions -fno-common"
)
endif
()
else
(
CMAKE_BUILD_TYPE MATCHES Debug
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_ANSI_CFLAGS
}
${
CMAKE_C_FLAGS
}
-std=c99 -fomit-frame-pointer -finline-functions -fno-common"
)
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"
)
endif
()
endif
(
CMAKE_BUILD_TYPE MATCHES Debug
)
endif
(
CMAKE_COMPILER_IS_GNUCC
)
if
(
CMAKE_COMPILER_IS_GNUCXX
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment