From: Sitsofe Wheeler Date: Wed, 7 Mar 2018 16:36:32 +0000 (+0000) Subject: appveyor: disable setting compiler march X-Git-Tag: fio-3.6~53^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=5b34186fadb5ad2360ab3b589f9c18fd44cc5b6c;hp=c922e0b0cb917a7a47265e76ff13b8911e0e497a;ds=sidebyside 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 --- 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%