Commit Graph

6 Commits

Author SHA1 Message Date
Tony Theodore be51d791a3 cmake: revert "add option to disable -isystem" 2018-08-15 12:57:09 +10:00
Tony Theodore 1b1b9c9a9a various packages: run `make refresh-patches` with numbering 2017-11-19 11:29:22 +11:00
Tony Theodore 3631f2f307 cmake: add prefixed cpack and CPACK_NSIS_EXECUTABLE
see #1502
2017-08-15 15:46:46 +10:00
Tony Theodore e9003e3fed cmake: add option to disable -isystem
Alternative to #1811, this seems like it should be fixed upstream
in gcc/cmake rather than individual packages
2017-07-25 21:11:43 +10:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Tony Theodore e66f2a9e9d cmake: fix windres invocation
Windres doesn't recognise various gcc flags like `-mms-bitfields`,
`-fopenmp`, `-mthreads` etc. (basically anything not `-D` or `-I`).

CMake will filter options if `add_compile_options()` is used, but not
for `add_definitions()`. The developers class it as a "won't fix" as
they believe `add_definitions()` shouldn't be used for such flags.

Fixes #1475
2016-08-12 02:19:40 +10:00