klibc-bot for Ben Hutchings
2021-Dec-27 21:33 UTC
[klibc] [klibc:master] sparc64: Remove redundant/unsupported compiler option -mptr64
Commit-ID: 2851d6a3ad9955ca264736c6e6789bdb88632ad7 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=2851d6a3ad9955ca264736c6e6789bdb88632ad7 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Mon, 27 Dec 2021 21:11:26 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Mon, 27 Dec 2021 21:13:09 +0100 [klibc] sparc64: Remove redundant/unsupported compiler option -mptr64 The -m64 option to gcc implies -mptr64, so it's redundant there. Clang, however, doesn't understand -mptr64 at all, so we should not use it. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/klibc/arch/sparc64/MCONFIG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/klibc/arch/sparc64/MCONFIG b/usr/klibc/arch/sparc64/MCONFIG index 81ad959e..d8c878aa 100644 --- a/usr/klibc/arch/sparc64/MCONFIG +++ b/usr/klibc/arch/sparc64/MCONFIG @@ -7,7 +7,7 @@ # accordingly. # -KLIBCARCHREQFLAGS = -m64 -mptr64 -D__sparc64__ +KLIBCARCHREQFLAGS = -m64 -D__sparc64__ KLIBCOPTFLAGS += -Os KLIBCBITSIZE = 64