aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorVlad Vissoultchev <wqweto@gmail.com>2016-03-14 18:06:42 +0200
committerVlad Vissoultchev <wqweto@gmail.com>2016-03-14 18:06:42 +0200
commit712eca44d5121dcf62031753e066e3fb6dc66492 (patch)
treee23e0c10cbf76969342e0565942562079bb090a6 /win32
parent9d778c7bb68fbc4be1b3d04f752d656ebb906e9f (diff)
downloadtinycc-712eca44d5121dcf62031753e066e3fb6dc66492.tar.gz
tinycc-712eca44d5121dcf62031753e066e3fb6dc66492.tar.bz2
Revert spawnvp param cast and use `no-incompatible-pointer-types` in build-tcc.bat
Diffstat (limited to 'win32')
-rw-r--r--win32/build-tcc.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/build-tcc.bat b/win32/build-tcc.bat
index ec8d5ae..7713e69 100644
--- a/win32/build-tcc.bat
+++ b/win32/build-tcc.bat
@@ -10,14 +10,14 @@ echo>..\config.h #define TCC_VERSION "%VERSION%"
@if _%1_==_x64_ shift /1 && goto x86_64
@set target=-DTCC_TARGET_PE -DTCC_TARGET_I386
-@set CC=gcc -Os -s -fno-strict-aliasing
+@set CC=gcc -Os -s -fno-strict-aliasing -Wno-incompatible-pointer-types
@if _%1_==_debug_ set CC=gcc -g -ggdb
@set P=32
@goto tools
:x86_64
@set target=-DTCC_TARGET_PE -DTCC_TARGET_X86_64
-@set CC=x86_64-w64-mingw32-gcc -Os -s -fno-strict-aliasing
+@set CC=x86_64-w64-mingw32-gcc -Os -s -fno-strict-aliasing -Wno-incompatible-pointer-types
@if _%1_==_debug_ set CC=x86_64-w64-mingw32-gcc -g -ggdb
@set P=64
@goto tools