diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-07-26 09:23:45 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-07-26 09:23:45 +0200 |
commit | 3ce512ab512339db8172e9f86c885b5ffd098a9c (patch) | |
tree | 33ecde57f84fe9b01fcadc282d383368daf604b7 /Makefile.native.inc | |
parent | 066faa2d96f4ee4ec9351c3c8c0452639ba5f709 (diff) |
Fixed build if "use your own toolchain" enabled.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile.native.inc')
-rw-r--r-- | Makefile.native.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.native.inc b/Makefile.native.inc index 39af860..1e45d36 100644 --- a/Makefile.native.inc +++ b/Makefile.native.inc @@ -18,6 +18,7 @@ INSTALL = install CMAKE = cmake CC = /usr/bin/cc CXX = /usr/bin/c++ +AR = /usr/bin/ar CFLAGS := -Wall -Wextra -Wno-sign-compare -Wno-strict-aliasing -Wno-c++20-compat \ -m64 -fPIC -fvisibility=hidden \ -ffunction-sections -fdata-sections \ @@ -37,7 +38,11 @@ EASTL_CXXFLAGS := -I$(DPP_ROOT)/EASTL/include -I$(DPP_ROOT)/EASTL/test/packages/ USER_LDFLAGS := -Wl,--gc-sections EASTL_BUILDDIR := EASTL-native-build +EASTL_STATIC_LIB := $(DPP_ROOT)/$(EASTL_BUILDDIR)/libEASTL.a + LIBCRT_BUILD_DIR := $(DPP_ROOT)/CRT-native-build +LIBUSERCRT_OBJECTS := $(LIBCRT_BUILD_DIR)/ucrt$(NAME_SUFFIX).opp +LIBUSERCRT_STATIC_LIB := $(LIBCRT_BUILD_DIR)/libusercrt.a is_set = \ $(if $1,, \ |