appveyor: disable setting compiler march
authorSitsofe Wheeler <sitsofe@yahoo.com>
Wed, 7 Mar 2018 16:36:32 +0000 (16:36 +0000)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Wed, 7 Mar 2018 16:53:31 +0000 (16:53 +0000)
Commit a817dc3b3b5a0efc95aaca366875eac67607cd5b ("Default to building
native code") tunes binaries to only run on the build system's
architecture by default. However as AppVeyor builds Windows MSIs for
public consumption, let's turn that feature off here to prevent people
accidentally ending up with binaries that contain instructions their
system can't run.

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
appveyor.yml

index c6c36893931af8dd58109617e75a8003f1152b60..09ebccf82c546c39c08092168471263db39864a0 100644 (file)
@@ -17,7 +17,7 @@ install:
   - SET PATH=%CYG_ROOT%\bin;%PATH% # NB: Changed env variables persist to later sections
 
 build_script:
   - SET PATH=%CYG_ROOT%\bin;%PATH% # NB: Changed env variables persist to later sections
 
 build_script:
-  - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe'
+  - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --disable-native --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe'
 
 after_build:
   - cd os\windows && dobuild.cmd %PLATFORM%
 
 after_build:
   - cd os\windows && dobuild.cmd %PLATFORM%