mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
f147cf0ee2
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
14 lines
192 B
Makefile
14 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>
|