pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/compiler



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Jul  9 15:46:02 UTC 2019

Modified Files:
        pkgsrc/mk/compiler: gcc.mk

Log Message:
aarch64 has no compiler flag for ABI=64.


To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200 pkgsrc/mk/compiler/gcc.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.199 pkgsrc/mk/compiler/gcc.mk:1.200
--- pkgsrc/mk/compiler/gcc.mk:1.199     Tue Jul  9 15:45:46 2019
+++ pkgsrc/mk/compiler/gcc.mk   Tue Jul  9 15:46:02 2019
@@ -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 =
 _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