From 483f10397ee37ba551e57bad563a846f2dc5bb5b Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 20 Oct 2022 20:09:54 +0200 Subject: [PATCH] review note --- examples/Makefile | 2 +- examples/Makefile.Web | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index 51aae0361..e1c3a9983 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -327,7 +327,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) LDLIBS += -lc endif - # TODO: On ARM 32bit arch, miniaudio requires atomics library + # NOTE: On ARM 32bit arch, miniaudio requires atomics library LDLIBS += -latomic endif ifeq ($(PLATFORM_OS),OSX) diff --git a/examples/Makefile.Web b/examples/Makefile.Web index 3a83b7bb7..d7e640862 100644 --- a/examples/Makefile.Web +++ b/examples/Makefile.Web @@ -279,6 +279,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB) # -s ASYNCIFY # lets synchronous C/C++ code interact with asynchronous JS # -s FORCE_FILESYSTEM=1 # force filesystem to load/save files data # -s ASSERTIONS=1 # enable runtime checks for common memory allocation errors (-O1 and above turn it off) + # -s EXPORTED_RUNTIME_METHODS=ccall # require exporting some LEGACY_RUNTIME functions, ccall() is required by miniaudio # --profiling # include information for code profiling # --memory-init-file 0 # to avoid an external memory initialization code file (.mem) # --preload-file resources # specify a resources folder for data compilation @@ -328,6 +329,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(RAYLIB_LIBTYPE),SHARED) LDLIBS += -lc endif + + # NOTE: On ARM 32bit arch, miniaudio requires atomics library + LDLIBS += -latomic endif ifeq ($(PLATFORM_OS),OSX) # Libraries for OSX 10.9 desktop compiling @@ -466,6 +470,7 @@ MODELS = \ models/models_loading \ models/models_loading_vox \ models/models_loading_gltf \ + models/models_loading_m3d \ models/models_orthographic_projection \ models/models_rlgl_solar_system \ models/models_skybox \