Merged in antmerlino/nuttx/libcxx-build-fix (pull request #727)
Fixes issue with libcxx build. This was changed multiple times, but should be fixed now. Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
8373784afe
commit
c21dfbb93c
|
@ -74,7 +74,7 @@ endif
|
|||
# configurations.
|
||||
|
||||
ifeq ($(CONFIG_LIBCXX),y)
|
||||
LIBXX=libxx$(DELIM)libcxx
|
||||
LIBXX=libcxx
|
||||
else
|
||||
LIBXX=libxx
|
||||
endif
|
||||
|
@ -89,7 +89,7 @@ ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
|||
|
||||
USERDIRS += libs$(DELIM)libc mm $(USER_ADDONS)
|
||||
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||
USERDIRS += libs$(DELIM)$(LIBXX)
|
||||
USERDIRS += libs$(DELIM)libxx
|
||||
endif
|
||||
|
||||
else
|
||||
|
@ -97,7 +97,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y)
|
|||
|
||||
USERDIRS += libs$(DELIM)libc mm
|
||||
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||
USERDIRS += libs$(DELIM)$(LIBXX)
|
||||
USERDIRS += libs$(DELIM)libxx
|
||||
endif
|
||||
|
||||
else
|
||||
|
@ -105,9 +105,9 @@ else
|
|||
NONFSDIRS += libs$(DELIM)libc mm
|
||||
OTHERDIRS += $(USER_ADDONS)
|
||||
ifeq ($(CONFIG_HAVE_CXX),y)
|
||||
NONFSDIRS += libs$(DELIM)$(LIBXX)
|
||||
NONFSDIRS += libs$(DELIM)libxx
|
||||
else
|
||||
OTHERDIRS += libs$(DELIM)$(LIBXX)
|
||||
OTHERDIRS += libs$(DELIM)libxx
|
||||
endif
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue