boards/sim/sim/sim/scripts/Make.defs: undefine more platform macro

Namely __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__,
which libcxx refstring.h uses to detect macOS.
This commit is contained in:
YAMAMOTO Takashi 2022-01-19 11:20:40 +09:00 committed by Xiang Xiao
parent 7a576ff056
commit f2ee1c5b35

View File

@ -38,6 +38,7 @@ include $(TOPDIR)/tools/Config.mk
ARCHDEFINES += -U_AIX -U_WIN32 -U__APPLE__ -U__FreeBSD__
ARCHDEFINES += -U__NetBSD__ -U__linux__ -U__sun__ -U__unix__
ARCHDEFINES += -U__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g