# name to allow expiration of old caches.
cache:
- key: "$CI_JOB_NAME-ver17"
+ key: "$CI_JOB_NAME-ver18"
paths:
- cache/
- echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
- ./bootstrap
- export CC="ccache i686-w64-mingw32-gcc"
+ - export CFLAGS="-fstack-protector"
+ - export CXXFLAGS="-fstack-protector"
+ - export LDFLAGS="-fstack-protector"
- export WINEPATH=/usr/i686-w64-mingw32/sys-root/mingw/bin
- dash ./configure --disable-gcc-warnings --host=i686-w64-mingw32 --target=i686-w64-mingw32 --cache-file cache/config.cache --with-included-libtasn1 --disable-nls --disable-guile --with-included-unistring --enable-local-libopts --disable-non-suiteb-curves --disable-full-test-suite --disable-doc
- mingw32-make -j$BUILDJOBS
- echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
- ./bootstrap
- export CC="ccache x86_64-w64-mingw32-gcc"
+ - export CFLAGS="-fstack-protector"
+ - export CXXFLAGS="-fstack-protector"
+ - export LDFLAGS="-fstack-protector"
- export WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin
- dash ./configure --disable-gcc-warnings --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --cache-file cache/config.cache --with-included-libtasn1 --disable-guile --disable-nls --with-included-unistring --enable-local-libopts --disable-non-suiteb-curves --disable-full-test-suite --disable-doc
- mingw64-make -j$BUILDJOBS
- echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
- ./bootstrap
- export CC="ccache x86_64-w64-mingw32-gcc"
+ - export CFLAGS="-fstack-protector"
+ - export CXXFLAGS="-fstack-protector"
+ - export LDFLAGS="-fstack-protector"
# Target Vista instead of XP, currently the default in mingw
- export CPPFLAGS="-D_WIN32_WINNT=0x600"
- export WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin
script:
- ./bootstrap
- export CC="ccache x86_64-w64-mingw32-gcc"
+ - export CFLAGS="-fstack-protector"
+ - export CXXFLAGS="-fstack-protector"
+ - export LDFLAGS="-fstack-protector"
# Target Vista instead of XP, currently the default in mingw
- export CPPFLAGS="-D_WIN32_WINNT=0x600"
- export WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin
script:
- ./bootstrap
- export CC="ccache x86_64-w64-mingw32-gcc"
+ - export CFLAGS="-fstack-protector"
+ - export CXXFLAGS="-fstack-protector"
+ - export LDFLAGS="-fstack-protector"
- export WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
- echo ':DOSWin:M::MZ::/usr/bin/wine64:' > /proc/sys/fs/binfmt_misc/register
script:
- ./bootstrap
- export CC="ccache i686-w64-mingw32-gcc"
+ - export CFLAGS="-fstack-protector"
+ - export CXXFLAGS="-fstack-protector"
+ - export LDFLAGS="-fstack-protector"
- export WINEPATH=/usr/i686-w64-mingw32/sys-root/mingw/bin
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
- echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register