Add CFLAGS_MOD

This commit is contained in:
embeddedt 2019-08-07 18:42:58 -04:00 committed by GitHub
parent a482d4ada8
commit a9d01eca86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ endif
CFLAGS += -Wall -Werror $(INC) -std=gnu11 $(COPT) CFLAGS += -Wall -Werror $(INC) -std=gnu11 $(COPT)
CFLAGS += -fdata-sections -ffunction-sections -Wno-error=unused-function CFLAGS += -fdata-sections -ffunction-sections -Wno-error=unused-function
CFLAGS += $(CFLAGS_MOD)
JSFLAGS += -s WASM=0 JSFLAGS += -s WASM=0
JSFLAGS += --memory-init-file 0 --js-library library.js JSFLAGS += --memory-init-file 0 --js-library library.js