Start makefile tweaks to allow wasm builds
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
13727bbf8c
commit
bac019897f
5 changed files with 16 additions and 0 deletions
|
@ -546,6 +546,10 @@ BASE_FLAGS += -DZSTDLIB_VISIBILITY=
|
|||
BASE_FLAGS += -I../src/Rack/dep/include
|
||||
endif
|
||||
|
||||
ifeq ($(WASM),true)
|
||||
BASE_FLAGS += -DNANOVG_GLES2=1
|
||||
endif
|
||||
|
||||
ifeq ($(WINDOWS),true)
|
||||
BASE_FLAGS += -D_USE_MATH_DEFINES
|
||||
BASE_FLAGS += -DWIN32_LEAN_AND_MEAN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue