Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2025 15:49:36 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e7f4ef88c35d - main - devel/linux_libusb: Use CSTD of gnu11 for the c7 flavor
Message-ID:  <202502271549.51RFnaJQ086048@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e7f4ef88c35d19ff3d924c11117c7238a54934cd

commit e7f4ef88c35d19ff3d924c11117c7238a54934cd
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-02-27 15:49:16 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-02-27 15:49:16 +0000

    devel/linux_libusb: Use CSTD of gnu11 for the c7 flavor
    
    This fixes the build on 15.0 where the default CSTD of gnu17 is not
    supported by the old version of gcc used for CentOS 7.
    
    PR:             284039
    Reviewed by:    arrowd
    Differential Revision:  https://reviews.freebsd.org/D48973
---
 devel/linux_libusb/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/linux_libusb/Makefile b/devel/linux_libusb/Makefile
index 918f78fbd85d..2505f8b76446 100644
--- a/devel/linux_libusb/Makefile
+++ b/devel/linux_libusb/Makefile
@@ -53,6 +53,7 @@ PLIST_FILES+=	usr/lib/libusb.so.3 \
 		usr/lib/libusb-0.1.so.4 \
 		usr/lib/libusb-1.0.so.0
 .  endif
+MAKE_ARGS+=	CSTD=gnu11
 .endif
 
 do-build:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502271549.51RFnaJQ086048>