]> git.baikalelectronics.ru Git - kernel.git/commit
s390/vdso: remove -nostdlib compiler flag
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 7 Nov 2021 16:21:11 +0000 (01:21 +0900)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 16 Nov 2021 11:29:19 +0000 (12:29 +0100)
commit6582909acd0c1bf7e037c8807fa2bc22fb19ab37
treedc3fd6c2c4af4a46697bd21c987e41d5fb57c713
parente68e970af597e1f0f792617b2adc5d3df8654b40
s390/vdso: remove -nostdlib compiler flag

The -nostdlib option requests the compiler to not use the standard
system startup files or libraries when linking. It is effective only
when $(CC) is used as a linker driver.

Since commit bfd1213df550 ("s390/vdso: Use $(LD) instead of $(CC) to
link vDSO"), $(LD) is directly used, hence -nostdlib is unneeded.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20211107162111.323701-1-masahiroy@kernel.org
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/vdso32/Makefile
arch/s390/kernel/vdso64/Makefile