head	1.2;
access;
symbols
	perseant-exfatfs-base-20261102:1.2;
locks; strict;
comment	@# @;


1.2
date	2026.01.20.18.06.12;	author christos;	state Exp;
branches;
next	1.1;
commitid	XVTCTgCE63MYV9rG;

1.1
date	2026.01.18.08.07.06;	author mrg;	state Exp;
branches;
next	;
commitid	nUAeUhrdIRxJFQqG;


desc
@@


1.2
log
@fix the build.
@
text
@#	$NetBSD: Makefile,v 1.1 2026/01/18 08:07:06 mrg Exp $

UNSUPPORTED_COMPILER.clang=	# defined
NOLINT=yes	# no complex128?

.include <bsd.own.mk>

DIST=	${GCCDIST}

LIB=	quadmath

SHLIB_MAJOR=	0
SHLIB_MINOR=	0

.include "${.CURDIR}/defs.mk"
SRCS=	${G_libquadmath_la_SOURCES:S,math/,,:S,printf/,,:S,strtod/,,}

CPPFLAGS+= \
	-DHAVE_CONFIG_H \
	-I${.CURDIR} \
	-I${DIST}/libquadmath \
	-I${DIST}/config \
	-I${DIST}/include

LIBDPLIBS+=	m ${NETBSDSRCDIR}/lib/libm

LDFLAGS+=	-Wl,--version-script,${DIST}/libquadmath/quadmath.map

COPTS.mul.c += -Wno-error=stack-protector
COPTS.printf_fp.c += -Wno-error=stack-protector

.include <bsd.lib.mk>

.PATH: ${DIST}/libquadmath
.PATH: ${DIST}/libquadmath/math
.PATH: ${DIST}/libquadmath/printf
.PATH: ${DIST}/libquadmath/strtod
@


1.1
log
@add most of the build infrastructure for libgfortran.

on a few platforms this also needs libquadmath.  libgfortran.spec is
unfortunately MD because of the libquadmath part.

adjust libbacktrace to allow it to be built into libgfortran directly.

NFC intended here for normal builds.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2025/09/17 05:55:30 mrg Exp $
d4 1
d29 3
@

