pass -fPIC for plugins (so) only
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Has been cancelled
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Vladimir Dubrovin committed 2026-07-28 18:59:02 +03:00
1 parent e4a5a7252c
commit 3bfabb29f8
9 files changed
+11 -11

No files matched your search

+3 -3
View File
@@ -9,12 +9,12 @@ PREFIX ?= 3proxy_
CRYPT_PREFIX ?= $(PREFIX)
CC ?= gcc
CFLAGS ?= -O3 -flto -fPIC
CFLAGS ?= -O3 -flto
CFLAGS += -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER -D WITH_UN
COUT = -o
LN ?= ${CC}
DCFLAGS ?=
LDFLAGS ?= -O3 -flto -fPIC
DCFLAGS ?= -fPIC
LDFLAGS ?= -O3 -flto
LDFLAGS += -fno-strict-aliasing -pthread
DLFLAGS ?= -shared
DLSUFFICS = .ld.so