aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorCheng-Yang Chou <yphbchou0911@gmail.com>2026-09-09 23:17:22 +0800
committerTejun Heo <tj@kernel.org>2026-09-09 07:51:14 -1000
commit60204f773b3851ab8320c83c84b0bd1f67189f76 (patch)
treea8e70dfa8deae894aedbed6103a08ccd5b5e9a3f /scripts/Makefile.thinlto
parentselftests/sched_ext: Cover duplicate DSQ creation and ID reuse (diff)
selftests/sched_ext: Drop -rdynamic and stop clobbering LDFLAGS
CFLAGS passes the link-time flag -rdynamic to compile steps ($(CC) -c), where it is unused. Under -Werror, Clang fails the build: $ make CC=clang-21 clang-21: error: argument unused during compilation: '-rdynamic' [-Werror,-Wunused-command-line-argument] Nothing needs the exported symbols. Separately, LDFLAGS uses '=' rather than '+=', discarding USERLDFLAGS from lib.mk. Drop -rdynamic and append LDFLAGS with '+='. This fixes builds with CC=clang-N while preserving USERLDFLAGS. v2: Drop -rdynamic instead of moving it to LDFLAGS (Tejun Heo). 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