mirror of
https://github.com/SirHumza/orbisRPC.git
synced 2026-10-06 09:00:37 +02:00
fix(ci): _DEFAULT_SOURCE for usleep under glibc strict c11
This commit is contained in:
1 parent
1bf56acc41
commit
92947f4031
1 file changed
+3
-2
+3
-2
@@ -1,6 +1,7 @@
|
||||
CC ?= cc
|
||||
# Host tests target POSIX systems (glibc under -std=c11 hides fileno/strdup/etc).
|
||||
CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -DHEALTH_TESTABLE -I../orbisrpc -I../third_party/mbedtls/include -I$(SQLITE_DIR)
|
||||
# Host tests target POSIX systems (glibc under -std=c11 hides fileno/strdup/etc;
|
||||
# _DEFAULT_SOURCE re-enables usleep and friends).
|
||||
CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -Wall -Wextra -Werror -DHEALTH_TESTABLE -I../orbisrpc -I../third_party/mbedtls/include -I$(SQLITE_DIR)
|
||||
|
||||
TARGET := test_utils
|
||||
OBJDIR := .objs
|
||||
|
||||
Reference in new issue
Block a user