compile.sh to use -D option for iscc.exe to specify the target architecture.

This commit is contained in:
dolphin6k 2021-10-22 22:50:55 +09:00
parent 7d8a5f67bb
commit 58dfe9cbae
2 changed files with 4 additions and 3 deletions

View file

@ -11,9 +11,11 @@ else
fi
echo "Building installer ... "
result=`/C/Program\ Files\ \(x86\)/Inno\ Setup\ 6/ISCC tuxpaint-${arch}.iss | grep installer.exe`
result=`/C/Program\ Files\ \(x86\)/Inno\ Setup\ 6/ISCC -DBuildTarget=${arch} tuxpaint.iss | grep installer.exe`
if [ "x$result" != "x" ]; then
installer=`basename $result`
else
exit
fi
echo "Building portable zip archive ... "

View file

@ -6,8 +6,7 @@
;
; Should we change this to Tux4Kids? -bjk 2011.06.15
; Fixme: /D option for iscc.exe seems to work only on windows command prompt.
; You should manually edit the following lines to specify the build target
; Edit the following lines or use -D (or /D) option for iscc.exe to specify the build target.
#ifndef BuildTarget
;#define BuildTarget "i686"
#define BuildTarget "x86_64"