From 5b34186fadb5ad2360ab3b589f9c18fd44cc5b6c Mon Sep 17 00:00:00 2001 From: Sitsofe Wheeler Date: Wed, 7 Mar 2018 16:36:32 +0000 Subject: [PATCH] appveyor: disable setting compiler march 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 --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index c6c36893..09ebccf8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,7 +17,7 @@ install: - 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% -- 2.25.1