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/7227cafe83e4
branches:  trunk
changeset: 336232:7227cafe83e4
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 b235c12d6b1c -r 7227cafe83e4 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