Files
src/usr.bin/pkgconf/Makefile
T
Pierre Pronchery 1342eb5a83 pkgconf: fix the build with GCC 14
Building pkgconf with GCC 14 currently fails with:
no option '-Wincompatible-pointer-types-discards-qualifiers'

This relaxes warnings for libpkgconf, pkgconf(1), and bomtool(1) until
the improvements are published upstream (see PR #444).

Co-authored-by:	ngie
Approved by:	ngie
Sponsored by:	The FreeBSD Foundation
Event:		Wiesbaden Hackathon 202604
Differential Revision:	https://reviews.freebsd.org/D56591
2026-04-25 21:13:57 +02:00

23 lines
407 B
Makefile

PACKAGE= pkgconf
PROG= pkgconf
SRCS= main.c
SRCS+= getopt_long.c
SRCS+= renderer-msvc.c
LIBADD= pkgconf
SYMLINKS= pkgconf ${BINDIR}/pkg-config
PKGCONFDIR= ${SRCTOP}/contrib/pkgconf
WARNS?= 3
CFLAGS+= -DSYSTEM_INCLUDEDIR=\"/usr/include\" -DSYSTEM_LIBDIR=\"/usr/lib\"
CFLAGS+= -I${SRCTOP}/lib/libpkgconf -I${PKGCONFDIR}
.PATH: ${PKGCONFDIR}/cli
.PATH: ${PKGCONFDIR}/man
.include <bsd.prog.mk>