]> git.ipfire.org Git - thirdparty/curl.git/commit
Makefile.m32: reintroduce CROSSPREFIX and -W -Wall [ci skip]
authorViktor Szakats <commit@vsz.me>
Sat, 22 Oct 2022 23:21:03 +0000 (23:21 +0000)
committerViktor Szakats <commit@vsz.me>
Sat, 22 Oct 2022 23:21:03 +0000 (23:21 +0000)
commita0d8a1aa91073a87b3b996050aff66603f03873d
treee3a6bd454781d2eea4427c15b9c42116624657d6
parent9b63dda16ec02c758f43143abcb8c5eeaecef8ae
Makefile.m32: reintroduce CROSSPREFIX and -W -Wall [ci skip]

- Reintroduce `CROSSPREFIX`:

  If set, we add it to the `CC` and `AR` values, and to the _default_
  value of `RC`, which is `windres`. This allows to control each of
  these individidually, while also allowing to simplify configuration
  via `CROSSPREFIX`.

  This variable worked differently earlier. Hopefully this new solution
  hits a better compromise in usefulness/complexity/flexibility.

  Follow-up to: aa970c4c08775afcd0c2853be89b0a6f02582d50

- Enable warnings again:

  This time with an option to override it via `CFLAGS`. Warnings are
  also enabled by default in CMake, `makefile.dj` and `makefile.amiga`
  builds (not in autotools though).

  Follow-up to 10fbd8b4e3f83b967fd9ad9a41ab484c0e7e7ca3

Closes #9784
lib/Makefile.m32