git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@67134 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -36,8 +36,11 @@ SetCompressorDictSize 128
!define GRASS_COMMAND "grass@GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR@svn"
!endif
-; Platform
-!if "%1" == "64"
+;----------------------------------------------------------------------------------------------------------------------------
+
+;Platform
+!if "@ARCH@" == "x86_64-w64-mingw32"
!define PLATFORM "x86_64"
!else
!define PLATFORM "x86"
@@ -23,4 +23,5 @@ GRASS-Installer.nsi: GRASS-Installer.nsi.tmpl
-e 's#@GRASS_VERSION_MAJOR@#$(GRASS_VERSION_MAJOR)#' \
-e 's#@GRASS_VERSION_MINOR@#$(GRASS_VERSION_MINOR)#' \
-e 's#@GRASS_VERSION_RELEASE@#$(GRASS_VERSION_RELEASE)#' \
+ -e 's#@ARCH@#$(ARCH)#' \
$< > $@