summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2017-07-20 10:26:50 (GMT)
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2017-07-20 10:27:02 (GMT)
commit642cb1492823506722719e74e8edf03445f9410b (patch)
tree7273b5e43cdef0575c50aa58b282a0ed47cfcc8b /configure
parent1a9e6fbab4255c85ceee5891b705a31feccc4413 (diff)
downloadblt-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-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 9dcc32e..8e9f06f 100755
--- a/configure
+++ b/configure
@@ -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