Mingw32 build improvement

This commit is contained in:
Anton Kochkov 2016-02-25 19:03:48 +03:00
parent eb0f5ebc38
commit 99c200b9c3
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@ Q='
ESC=
ifeq ($(BUILD_OS),windows)
ifeq ($(OSTYPE),mingw32)
ifneq (,$(findstring mingw32-make,$(MAKE)))
ifneq ($(APPVEYOR),True)
Q=
ESC=^
@ -38,6 +39,7 @@ ifneq ($(APPVEYOR),True)
endif
endif
endif
endif
all: plugins.cfg libr/include/r_version.h
${MAKE} -C shlr/zip

View File

@ -4,7 +4,7 @@ sh.exe -c "export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/Program\ Files\ \(x
sh.exe -c "uname | tr 'A-Z' 'a-z'"
sh.exe -c "echo ${CC}"
sh.exe -c "sed -i '/xtensa/d' plugins.def.cfg"
sh.exe -c "export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/Program\ Files\ \(x86\)/Git/bin:${PATH} ; ./configure --with-ostype=mingw32 --build=i686-unknown-windows-gnu ; mingw32-make -j1 CC='gcc -static-libgcc'; mingw32-make w32dist USE_ZIP=NO"
sh.exe -c "export PATH=/c/mingw/bin:/c/mingw/msys/1.0/bin:/c/Program\ Files\ \(x86\)/Git/bin:${PATH} ; ./configure --with-ostype=mingw32 --build=i686-unknown-windows-gnu ; make -j1 CC='gcc -static-libgcc'; make w32dist USE_ZIP=NO"
if "%APPVEYOR%" == "True" (
appveyor DownloadFile https://raw.githubusercontent.com/radare/radare2-win-installer/master/radare2.iss
appveyor DownloadFile https://raw.githubusercontent.com/radare/radare2-win-installer/master/radare2.ico