Skip to content

Commit 33b4899

Browse files
committed
Compact profile not supported
JERRY_ESNEXT removed from library
1 parent 5f968a1 commit 33b4899

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

component.mk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,16 @@ JERRY_GLOBAL_HEAP_SIZE ?= 1
2525

2626
# Compact (minimal profile) compilation profile makes the JerryScript library smaller
2727
COMPONENT_VARS += JERRY_COMPACT_PROFILE
28-
JERRY_COMPACT_PROFILE ?= 1
28+
JERRY_COMPACT_PROFILE ?= 0
2929

3030
ifeq ($(JERRY_COMPACT_PROFILE),1)
3131
JERRY_PROFILE := minimal
3232
# Apply these flags to library and tool(s)
3333
JERRY_COMPILER_FLAGS := \
3434
JERRY_BUILTINS=0 \
35-
JERRY_ESNEXT=0 \
3635
JERRY_UNICODE_CASE_CONVERSION=0
3736
else
3837
JERRY_PROFILE := es.next
39-
GLOBAL_CFLAGS += -DJERRY_ESNEXT=1
4038
endif
4139

4240
JERRY_WEB_COMPILER := $(COMPONENT_PATH)/jsc/$(JERRY_PROFILE)

0 commit comments

Comments
 (0)