The assembly code is not compatible with clang's integrated assembler. bcallah@ found out that the code is meant for GNU as(1) and could be rewritten, but we're going with as(1) for the time being. OK jca@ and bcallah@
28 lines
496 B
Makefile
28 lines
496 B
Makefile
# $OpenBSD: Makefile,v 1.2 2020/05/26 18:11:16 cwen Exp $
|
|
|
|
COMMENT= arch-independent interface for dynamic calls of C functions
|
|
|
|
V= 1.1
|
|
DISTNAME= dyncall-${V}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= https://www.dyncall.org/
|
|
|
|
# ISC-like
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES= http://www.dyncall.org/r${V}/
|
|
|
|
SEPARATE_BUILD= Yes
|
|
|
|
MODULES= devel/cmake
|
|
|
|
NO_TEST= Yes
|
|
|
|
# Assembly incompatible with clang's integrated assembler
|
|
.if ${MACHINE_ARCH:Mpowerpc}
|
|
CFLAGS += -fno-integrated-as
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|