Use -fPIC instead of -fpic

This commit is contained in:
z3APA3A 2020-08-06 16:19:55 +03:00
parent 3b5fa46e27
commit 35153001ed
7 changed files with 8 additions and 7 deletions

View File

@ -16,7 +16,7 @@ LN ?= ${CC}
LDFLAGS = -pthread -O -fno-strict-aliasing
# -lpthreads may be reuqired on some platforms instead of -pthreads
# -ldl or -lld may be required for some platforms
DCFLAGS = -fpic
DCFLAGS = -fPIC
DLFLAGS = -shared
DLSUFFICS = .so
LIBS =

View File

@ -13,7 +13,7 @@ CC = gcc
CFLAGS = -g -O2 -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER
COUT = -o
LN = gcc
DCFLAGS = -fpic
DCFLAGS = -fPIC
LDFLAGS = -O2 -fno-strict-aliasing -pthread
DLFLAGS = -shared
DLSUFFICS = .ld.so

View File

@ -13,7 +13,7 @@ CFLAGS = -xO3 -c -D_SOLARIS -D_THREAD_SAFE -DGETHOSTBYNAME_R -D_REENTRANT -DNOOD
COUT = -o ./
LN = cc
LDFLAGS = -xO3
DCFLAGS = -fpic
DCFLAGS = -fPIC
DLFLAGS = -shared
DLSUFFICS = .ld.so
LIBS = -lpthread -lsocket -lnsl -lresolv -ldl

View File

@ -14,7 +14,7 @@ CFLAGS = -O2 -fno-strict-aliasing -c -D_SOLARIS -D_THREAD_SAFE -DGETHOSTBYNAME_R
COUT = -o ./
LN = gcc
LDFLAGS = -O3
DCFLAGS = -fpic
DCFLAGS = -fPIC
DLFLAGS = -shared
DLSUFFICS = .ld.so
LIBS = -lpthread -lsocket -lnsl -lresolv -ldl

View File

@ -13,7 +13,7 @@ CC = mips-openwrt-linux-gcc
CFLAGS = -g -O2 -fno-strict-aliasing -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER
COUT = -o
LN = mips-openwrt-linux-gcc
DCFLAGS = -fpic
DCFLAGS = -fPIC
LDFLAGS = -O2 -fno-strict-aliasing -pthread -s
DLFLAGS = -shared
DLSUFFICS = .ld.so

View File

@ -17,7 +17,7 @@ LN = gcc
LDFLAGS = -O2 -fno-strict-aliasing -pthread
# -lpthreads may be reuqired on some platforms instead of -pthreads
# -ldl or -lld may be required for some platforms
DCFLAGS = -fpic
DCFLAGS = -fPIC
DLFLAGS = -shared
DLSUFFICS = .ld.so
LIBS =

3
bin/.gitignore vendored
View File

@ -1 +1,2 @@
*.cfg
*.cfg
*.old