pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/pearpc



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu May 14 19:33:30 UTC 2020

Modified Files:
        pkgsrc/emulators/pearpc: Makefile

Log Message:
Disable LLVM IAS as the source lacks size prefixes


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/emulators/pearpc/Makefile

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

Modified files:

Index: pkgsrc/emulators/pearpc/Makefile
diff -u pkgsrc/emulators/pearpc/Makefile:1.23 pkgsrc/emulators/pearpc/Makefile:1.24
--- pkgsrc/emulators/pearpc/Makefile:1.23       Fri Mar 20 11:57:36 2020
+++ pkgsrc/emulators/pearpc/Makefile    Thu May 14 19:33:30 2020
@@ -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 @@ EGDIR=                       ${PREFIX}/share/examples/${PKGB
 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