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)
commit7b737adc10d269e7fdf714ae2caa2281b6a801cf
treedc3fd6c2c4af4a46697bd21c987e41d5fb57c713
parent4b9e04367afe214e06736685a7962fcbadd8b0af
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 2b2a25845d53 ("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