diff options
author | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2017-07-20 10:26:50 (GMT) |
---|---|---|
committer | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2017-07-20 10:27:02 (GMT) |
commit | 642cb1492823506722719e74e8edf03445f9410b (patch) | |
tree | 7273b5e43cdef0575c50aa58b282a0ed47cfcc8b /configure | |
parent | 1a9e6fbab4255c85ceee5891b705a31feccc4413 (diff) | |
download | blt-642cb1492823506722719e74e8edf03445f9410b.zip blt-642cb1492823506722719e74e8edf03445f9410b.tar.gz blt-642cb1492823506722719e74e8edf03445f9410b.tar.bz2 |
Add Windows-specific CFLAGS
-TP: C++
-EHsc: specify exception handling
-D_USE_MATH_DEFINES: cmath constants
-D_CRT_SECURE_NO_WARNINGS: ignore *strncpy*/*printf* warnings;
alternatives have different signatures.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5763,8 +5763,12 @@ generic/tkbltDecls.h done +if test "windows" = "${TEA_PLATFORM}"; then - PKG_CFLAGS="$PKG_CFLAGS " + PKG_CFLAGS="$PKG_CFLAGS -TP -EHsc -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES" + + +fi |