aboutsummaryrefslogtreecommitdiff
path: root/Makefile.native.inc
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-09-12 12:10:47 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-09-12 12:10:47 +0200
commit85c7ff11bdaf7f6a5d230744f71c5b9b7bc9bf6f (patch)
treeb915b402fb5f20ab114d9286f98be31a4987254b /Makefile.native.inc
parent6e8f68f653a832491d9bf05f06bfab81aea0a9cb (diff)
Added ThreadArgs, Event, WorkItem.
* added/modified WorkQueue example * enable additional EASTL features in user space Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile.native.inc')
-rw-r--r--Makefile.native.inc11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile.native.inc b/Makefile.native.inc
index 78b0f1c..106c9e3 100644
--- a/Makefile.native.inc
+++ b/Makefile.native.inc
@@ -26,13 +26,12 @@ CFLAGS := -Wall -Wextra -Wno-sign-compare -Wno-strict-aliasing -Wno-c++20-compat
ifneq ($(WERROR),)
CFLAGS += -Werror
endif
-CXXFLAGS := -fno-exceptions -fno-rtti -fuse-cxa-atexit
+CXXFLAGS := -fuse-cxa-atexit
EASTL_CXXFLAGS := -I$(DPP_ROOT)/EASTL/include -I$(DPP_ROOT)/EASTL/test/packages/EABase/include/Common \
- -DEASTL_THREAD_SUPPORT_AVAILABLE=0 \
- -DEASTL_EXCEPTIONS_ENABLED=0 \
- -DEASTL_ASSERT_ENABLED=0 \
- -DEA_COMPILER_NO_EXCEPTIONS=1 \
- -DEA_COMPILER_MANAGED_CPP=1 \
+ -DEASTL_THREAD_SUPPORT_AVAILABLE=1 \
+ -DEASTL_EXCEPTIONS_ENABLED=1 \
+ -DEASTL_ASSERT_ENABLED=1 \
+ -DEA_PLATFORM_POSIX=1 \
-Wno-unknown-pragmas \
-Wno-deprecated-copy
USER_LDFLAGS := -Wl,--gc-sections