1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-22 07:20:00 +00:00

dtc: Ensure it is built in C++17 mode

Explicitly specify the C++ standard to be used in the Makefile.
This prevents macOS cross-builds from using the default gnu++98 and
fail.  This syncs dtc with upstream commit
39a58cfaab7d55c7975ebf905d859ba91a369fa0.

Reviewed by: emaste
Fixes: 29a55fd09b ("dtc: Sync with upstream commit 26a0fe5")
Differential Revision: https://reviews.freebsd.org/D42006
This commit is contained in:
Jose Luis Duran 2023-09-29 09:24:32 -04:00 committed by Ed Maste
parent ba883e7a5a
commit f147cf0ee2

View File

@ -6,6 +6,8 @@ WARNS?= 3
CXXFLAGS+= -fno-rtti -fno-exceptions
CXXSTD= c++17
NO_SHARED?=NO
.include <bsd.prog.mk>