]> git.kaiwu.me - quickjs.git/commitdiff
fixed examples/hello_module compilation (#240)
authorFabrice Bellard <fabrice@bellard.org>
Wed, 19 Mar 2025 12:29:54 +0000 (13:29 +0100)
committerFabrice Bellard <fabrice@bellard.org>
Wed, 19 Mar 2025 12:29:54 +0000 (13:29 +0100)
Makefile

index be3f614f84686636235502164b4ea91f594c5a56..8d134c862b9c2a1f3ad6321782df4211db074f82 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -381,7 +381,7 @@ examples/hello: $(OBJDIR)/hello.o $(QJS_LIB_OBJS)
 
 # example of static JS compilation with modules
 HELLO_MODULE_SRCS=examples/hello_module.js
-HELLO_MODULE_OPTS=-fno-string-normalize -fno-map -fno-promise -fno-typedarray \
+HELLO_MODULE_OPTS=-fno-string-normalize -fno-map -fno-typedarray \
            -fno-typedarray -fno-regexp -fno-json -fno-eval -fno-proxy \
            -fno-date -m
 examples/hello_module: $(QJSC) libquickjs$(LTOEXT).a $(HELLO_MODULE_SRCS)