Retire CONFIG_WCHAR_BUILTIN
wchar_t is always a builtin type for C++. Note: boards/arm/stm32/nucleo-f4x1re/scripts/Make.defs was broken. (missing -)
This commit is contained in:
parent
e99e185712
commit
1184502661
@ -52,7 +52,7 @@ ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10
|
||||
|
||||
ifeq ($(CONFIG_ARMV7M_TOOLCHAIN_CLANGL),y)
|
||||
ARCHCFLAGS += -nostdlib -ffreestanding
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding -DCONFIG_WCHAR_BUILTIN
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding
|
||||
else
|
||||
ARCHCFLAGS += -funwind-tables
|
||||
ARCHCXXFLAGS += -fno-rtti -funwind-tables
|
||||
|
@ -59,7 +59,7 @@ ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fcheck-new
|
||||
|
||||
ifeq ($(CONFIG_ARMV7M_TOOLCHAIN_CLANGL),y)
|
||||
ARCHCFLAGS += -nostdlib -ffreestanding
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding -DCONFIG_WCHAR_BUILTIN
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding
|
||||
else
|
||||
ARCHCXXFLAGS += -fno-rtti
|
||||
ifneq ($(CONFIG_DEBUG_NOOPT),y)
|
||||
|
@ -65,7 +65,7 @@ ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fcheck-new
|
||||
|
||||
ifeq ($(CONFIG_ARMV7M_TOOLCHAIN_CLANGL),y)
|
||||
ARCHCFLAGS += -nostdlib -ffreestanding
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding DCONFIG_WCHAR_BUILTIN
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding
|
||||
else
|
||||
ARCHCXXFLAGS += -fno-rtti
|
||||
ifneq ($(CONFIG_DEBUG_NOOPT),y)
|
||||
|
@ -46,7 +46,7 @@ ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10
|
||||
|
||||
ifeq ($(CONFIG_ARMV7M_TOOLCHAIN_CLANGL),y)
|
||||
ARCHCFLAGS += -nostdlib -ffreestanding
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding -DCONFIG_WCHAR_BUILTIN
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding
|
||||
else
|
||||
ARCHCFLAGS += -funwind-tables
|
||||
ARCHCXXFLAGS += -fno-rtti -funwind-tables
|
||||
|
@ -54,7 +54,7 @@ ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fcheck-new -fno-rtti
|
||||
|
||||
ifeq ($(CONFIG_ARMV7M_TOOLCHAIN_CLANGL),y)
|
||||
ARCHCFLAGS += -nostdlib -ffreestanding
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding -DCONFIG_WCHAR_BUILTIN
|
||||
ARCHCXXFLAGS += -nostdlib -ffreestanding
|
||||
else
|
||||
ARCHCXXFLAGS += -fno-rtti
|
||||
ifneq ($(CONFIG_DEBUG_NOOPT),y)
|
||||
|
@ -957,7 +957,6 @@ if __name__ == '__main__':
|
||||
lib_prj.make_output_dir(lib_name)
|
||||
if lib_name == 'libxx':
|
||||
lib_prj.add_misc('cxx_misc')
|
||||
lib_prj.add_define('cxx_def', 'CONFIG_WCHAR_BUILTIN')
|
||||
else:
|
||||
lib_prj.add_misc('c_misc')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user