mirror of
https://github.com/opnsense/src.git
synced 2026-06-17 20:49:40 -04:00
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
13 lines
192 B
Makefile
13 lines
192 B
Makefile
PROG_CXX=dtc
|
|
SRCS= dtc.cc input_buffer.cc string.cc dtb.cc fdt.cc checking.cc
|
|
MAN= dtc.1
|
|
|
|
WARNS?= 3
|
|
|
|
CXXFLAGS+= -fno-rtti -fno-exceptions
|
|
|
|
CXXSTD= c++17
|
|
|
|
NO_SHARED?=NO
|
|
|
|
.include <bsd.prog.mk>
|