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>
- 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%