]> xenbits.xensource.com Git - unikraft/libs/musl.git/commit
Makefile.uk: Use -Wno-cast-function-type for GCC >= 8
authorRazvan Deaconescu <razvand@unikraft.io>
Sun, 27 Nov 2022 12:16:32 +0000 (14:16 +0200)
committerUnikraft <monkey@unikraft.io>
Sun, 27 Nov 2022 18:21:29 +0000 (18:21 +0000)
commit481df35f4982c34419a09b7032f9fe6147ae653b
treefacdacd7cc06bd70a7966f9464915c5d26cfb255
parent1008a211ed747e27789852f721c6d24bb3e0b9c4
Makefile.uk: Use -Wno-cast-function-type for GCC >= 8

The build option `-Wno-cast-function-type`, used in `Makefile.uk` is
available from GCC >= 8. When used in GCC <= 7, it issues a warning.

This commit updates the build flags to enable `-Wno-cast-function-type`
only when using GCC >= 8.

GitHub-Fixes: #27

Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #28
Makefile.uk