diff options
| author | 2026-09-08 21:47:08 +0800 | |
|---|---|---|
| committer | 2026-09-08 07:01:42 -1000 | |
| commit | f6365b34c577756c941a716528864307d883d9dd (patch) | |
| tree | 9597169f2df394e790d7e4e5337fce062820b8c1 /scripts/Makefile.thinlto | |
| parent | sched_ext: Protect the idle-search scratch nodemask with irqsave (diff) | |
tools/sched_ext: Drop the no-op -rdynamic from CFLAGS
Because CFLAGS only applies to compilation ($(CC) -c), the link-time
flag -rdynamic is inert during the build. Schedulers do not rely on
exported dynamic symbols, and binaries remain byte-identical without it.
Under -Werror, Clang treats this unused argument as a build error:
$ make CC=clang-21
clang-21: error: argument unused during compilation: '-rdynamic'
[-Werror,-Wunused-command-line-argument]
Drop -rdynamic from CFLAGS to ensure clean builds across Clang versions.
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
