curl/CMake
Viktor Szakats 95658f9ca3
build: fix -Wtrampolines picky warning for gcc 4.x versions
Caused an error when using cmake with gcc 4.4 and 4.5.
Also 4.3 when using autotools.

Seen with GNU 4.4.0 in CeGCC 0.59.1:
```
cc1: error: unrecognized command line option "-Wtrampolines"
```

`-Wtrampolines` requires gcc 4.6 or upper.

Ref: https://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Warning-Options.html
Ref: https://master.dl.sourceforge.net/project/cegcc/cegcc/0.59.1/cegcc_mingw32ce_snowleopard_r1397.tar.bz2

Closes #15962
2025-01-10 18:21:10 +01:00
..
cmake_uninstall.cmake.in cmake: more small tidy-ups and fixes 2024-08-08 13:48:28 +02:00
CMakeConfigurableFile.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-config.cmake.in cmake: publish/check supported protocols/features via CURLConfig.cmake 2025-01-04 10:29:00 +01:00
CurlSymbolHiding.cmake Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
CurlTests.c tidy-up: misc 2024-12-24 01:27:26 +01:00
FindBearSSL.cmake cmake: document -D and env build options 2024-10-24 23:06:40 +02:00
FindBrotli.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindCares.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindGSS.cmake cmake: drop redundant opening/closing .* from MATCH expressions 2024-12-20 11:38:59 +01:00
FindLDAP.cmake cmake/FindLDAP: avoid framework locations for libs too (Apple) 2025-01-02 12:55:50 +01:00
FindLibgsasl.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibidn2.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibpsl.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibrtmp.cmake cmake: add librtmp Find module 2024-12-27 12:52:23 +01:00
FindLibssh2.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibssh.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindLibuv.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindMbedTLS.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindMSH3.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindNettle.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindNGHTTP2.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindNGHTTP3.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindNGTCP2.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindQuiche.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
FindRustls.cmake cmake: make system libraries dl, m, pthread customizable 2025-01-02 12:55:50 +01:00
FindWolfSSH.cmake cmake: clear package version after pkg-config detection 2024-10-25 15:04:35 +02:00
FindWolfSSL.cmake cmake: make system libraries dl, m, pthread customizable 2025-01-02 12:55:50 +01:00
FindZstd.cmake cmake: move pkg-config names to Find modules 2024-12-26 12:59:59 +01:00
Macros.cmake cmake: extend zlib's AUTO option to brotli, zstd and enable if found 2024-12-17 04:06:45 +01:00
OtherTests.cmake Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
PickyWarnings.cmake build: fix -Wtrampolines picky warning for gcc 4.x versions 2025-01-10 18:21:10 +01:00
Utilities.cmake cmake: tidy up local variable names 2024-12-28 12:29:59 +01:00
win32-cache.cmake cmake: pre-fill HAVE_STDINT_H on Windows 2025-01-07 15:37:36 +01:00