net/usockets: Fix build on some systems

... by adding -fPIC.

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2024-02-03 13:03:24 -08:00
parent 1e452f6a9c
commit e99aeb77e1

View file

@ -20,6 +20,7 @@ GH_ACCOUNT= uNetworking
GH_PROJECT= uSockets GH_PROJECT= uSockets
MAKE_ARGS= WITH_OPENSSL=1 MAKE_ARGS= WITH_OPENSSL=1
CFLAGS+= -fPIC # -fPIC is required for the build to succeed, see https://github.com/uNetworking/uSockets/issues/217
CXXFLAGS+= -fPIC CXXFLAGS+= -fPIC
ALL_TARGET= default ALL_TARGET= default