Build and documentation tweaks

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-02-07 21:07:40 +00:00
parent 3b7ab5df31
commit 0fc4a61870
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
6 changed files with 74 additions and 38 deletions

17
deps/Makefile vendored
View file

@ -9,12 +9,21 @@ DEP_PATH = $(abspath ../src/Rack/dep)
# --------------------------------------------------------------
# Import base definitions
USE_NANOVG_FBO = true
include ../dpf/Makefile.base.mk
# --------------------------------------------------------------
# Build config
ifeq ($(BSD),true)
SYSDEPS ?= true
else
SYSDEPS ?= false
endif
# --------------------------------------------------------------
# custom build flags
BASE_FLAGS += -DZSTDLIB_VISIBILITY=
BASE_FLAGS += -I../include
BASE_FLAGS += -I../include/neon-compat
@ -24,6 +33,10 @@ BASE_FLAGS += -ffat-lto-objects
endif
endif
ifneq ($(SYSDEPS),true)
BASE_FLAGS += -DZSTDLIB_VISIBILITY=
endif
ifeq ($(WASM),true)
BASE_FLAGS += -msse -msse2 -msse3 -msimd128
else
@ -191,7 +204,7 @@ QUICKJS_MAKE_FLAGS += PROGS=libquickjs.a
ifeq ($(WITH_LTO),true)
QUICKJS_MAKE_FLAGS += CONFIG_LTO=y
else
QUICKJS_MAKE_FLAGS += CONFIG_LTO=n
QUICKJS_MAKE_FLAGS += CONFIG_LTO=
endif
ifeq ($(WINDOWS),true)