]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Makefile: Do not call gcc directly
authorGwendal Grignou <gwendal@chromium.org>
Wed, 15 May 2024 21:30:59 +0000 (14:30 -0700)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 18 Jun 2024 11:02:53 +0000 (13:02 +0200)
commit027b2d37a8cd56973d117107acc25a64cfe0a92f
tree013957ebe26761c1a286669abf39b2c49586cf3d
parent66a54b266f6c579e5f37b6253820903a55c3346c
Makefile: Do not call gcc directly

When mdadm is compiled with clang, direct gcc will fail.
Make sure to use $(CC) variable instead.

Note that Clang does not support --help=warnings,
--print-diagnostic-options should be used instead.
So with Clang, the compilation will go through, but the
extra warning flags will never be added.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Makefile