pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler aarch64 has no compiler flag for ABI=64.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab602cf55df3
branches: trunk
changeset: 398059:ab602cf55df3
user: riastradh <riastradh%pkgsrc.org@localhost>
date: Tue Jul 09 15:46:02 2019 +0000
description:
aarch64 has no compiler flag for ABI=64.
diffstat:
mk/compiler/gcc.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r e846e7fc6dfc -r ab602cf55df3 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk Tue Jul 09 15:45:46 2019 +0000
+++ b/mk/compiler/gcc.mk Tue Jul 09 15:46:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.199 2019/07/09 15:45:46 riastradh Exp $
+# $NetBSD: gcc.mk,v 1.200 2019/07/09 15:46:02 riastradh Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -893,6 +893,9 @@
_COMPILER_ABI_FLAG.n32= -mabi=n32
_COMPILER_ABI_FLAG.o32= -mabi=32
_COMPILER_ABI_FLAG.64= -mabi=64
+.elif !empty(MACHINE_ARCH:Maarch64*)
+_COMPILER_ABI_FLAG.32= -m32
+_COMPILER_ABI_FLAG.64= # empty
.else
_COMPILER_ABI_FLAG.32= -m32
_COMPILER_ABI_FLAG.64= -m64
Home |
Main Index |
Thread Index |
Old Index