Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/pearpc Disable LLVM IAS as the source lacks ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15ecc6d92e45
branches:  trunk
changeset: 431600:15ecc6d92e45
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:33:30 2020 +0000

description:
Disable LLVM IAS as the source lacks size prefixes

diffstat:

 emulators/pearpc/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 0d6ee9134ecd -r 15ecc6d92e45 emulators/pearpc/Makefile
--- a/emulators/pearpc/Makefile Thu May 14 19:32:31 2020 +0000
+++ b/emulators/pearpc/Makefile Thu May 14 19:33:30 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/03/20 11:57:36 nia Exp $
+# $NetBSD: Makefile,v 1.24 2020/05/14 19:33:30 joerg Exp $
 
 DISTNAME=              pearpc-0.5
 CATEGORIES=            emulators
@@ -18,8 +18,14 @@
 CONF_FILES=            ${EGDIR}/ppccfg.example ${PKG_SYSCONFDIR}/ppccfg.conf
 
 .include "../../mk/bsd.prefs.mk"
+.include "../../mk/compiler.mk"
 
-.if !empty(MACHINE_ARCH:Mi386)
+.if !empty(PKGSRC_COMPILER:Mclang) && ${MACHINE_ARCH} == "x86_64"
+CCASFLAGS+=    -fno-integrated-as
+MAKE_ENV+=     AM_CCASFLAGS=${CCASFLAGS:Q}
+.endif
+
+.if ${MACHINE_ARCH} == "i386"
 BUILD_DEPENDS+=                nasm-[0-9]*:../../devel/nasm
 CONFIGURE_ARGS+=       --enable-cpu=jitc_x86
 .endif



Home | Main Index | Thread Index | Old Index