diff options
author | riastradh <riastradh@pkgsrc.org> | 2019-07-09 15:46:02 +0000 |
---|---|---|
committer | riastradh <riastradh@pkgsrc.org> | 2019-07-09 15:46:02 +0000 |
commit | d096c541dfe9f0cda050414762755b9754448f7f (patch) | |
tree | edfe99ff5cb0470c6d94f248de02a74024bd9465 /mk | |
parent | 186739908748be6e2547c1e69f161fe16df2c3d6 (diff) | |
download | pkgsrc-d096c541dfe9f0cda050414762755b9754448f7f.tar.gz |
aarch64 has no compiler flag for ABI=64.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/gcc.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index 69ba253c24b..ea5954f6b9b 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -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.32= -mabi=n32 # ABI == "32" == "n32" _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 |