mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-02 13:20:51 +00:00
unbreak tests, MG_TLS _must_ be defined in CFLAGS_EXTRA to allow being overwritten, as documented
This commit is contained in:
1 parent
cff27a72c5
commit
1228e8f620
4 files changed
+7
-4
No files matched your search
@@ -5,7 +5,8 @@ SOURCES = main.c mongoose.c mongoose_mqtt.c packed_fs.c # Source code files
|
||||
CFLAGS = -W -Wall -Wextra -g -I. # Build options
|
||||
|
||||
# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-options/
|
||||
CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 -DMG_TLS=MG_TLS_BUILTIN
|
||||
CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN
|
||||
CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1
|
||||
|
||||
ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe
|
||||
PROG ?= example.exe # Use .exe suffix for the binary
|
||||
|
||||
Reference in new issue
Block a user