Fixed possible undefined behaviour when UDP RX buffer fills
This commit is contained in:
@@ -18,6 +18,7 @@ INCLUDES=
|
||||
DEFS=
|
||||
LIBS=
|
||||
ARCH_FLAGS=-arch x86_64
|
||||
CFLAGS=
|
||||
|
||||
include objects.mk
|
||||
|
||||
@@ -136,7 +137,7 @@ osx_shared_lib: remove_only_intermediates $(OBJS)
|
||||
|
||||
osx_intercept:
|
||||
# Use gcc not clang to build standalone intercept library since gcc is typically used for libc and we want to ensure maximal ABI compatibility
|
||||
cd src ; gcc $(DEFS) -O2 -Wall -std=c99 -fPIC -fno-common -dynamiclib -flat_namespace -DVERBOSE -D_GNU_SOURCE -DNETCON_INTERCEPT -I. -I../zerotierone/node -nostdlib -shared -o ../$(INTERCEPT) SDK_Sockets.c SDK_Intercept.c SDK_Debug.c SDK_RPC.c -ldl
|
||||
cd src ; gcc $(CFLAGS) $(DEFS) -O2 -Wall -std=c99 -fPIC -fno-common -dynamiclib -flat_namespace -DVERBOSE -D_GNU_SOURCE -DNETCON_INTERCEPT -I. -I../zerotierone/node -nostdlib -shared -o ../$(INTERCEPT) SDK_Sockets.c SDK_Intercept.c SDK_Debug.c SDK_RPC.c -ldl
|
||||
#mv src/$(INTERCEPT_NAME) $(INTERCEPT)
|
||||
|
||||
# Build only the SDK service
|
||||
@@ -151,7 +152,7 @@ osx_service_and_intercept: remove_only_intermediates osx_intercept osx_sdk_servi
|
||||
|
||||
|
||||
# -------- ANDROID ---------
|
||||
# Build all Android targets
|
||||
# Build all Android targets
|
||||
# Chip architectures can be specified in integrations/android/android_jni_lib/java/jni/Application.mk
|
||||
android: android_jni_lib
|
||||
|
||||
|
||||
Reference in New Issue
Block a user