From 34c4162cea8a984355c91d068d9933bd252529ea Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Fri, 29 Oct 2021 19:25:58 +0300 Subject: [PATCH] Update Makefile.FreeBSD --- Makefile.FreeBSD | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Makefile.FreeBSD b/Makefile.FreeBSD index 182165b..5ab96e0 100644 --- a/Makefile.FreeBSD +++ b/Makefile.FreeBSD @@ -1,20 +1,17 @@ # # 3 proxy Makefile for GCC/Unix # -# You can try to remove -DWITH_STD_MALLOC to CFLAGS to use optimized malloc -# libraries -# # remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC # library support. Add -DSAFESQL for poorely written ODBC library / drivers. BUILDDIR = ../bin/ -CC ?= gcc +CC ?= cc -CFLAGS = -c -O -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL +CFLAGS += -c -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL COUT = -o LN ?= ${CC} -LDFLAGS = -pthread -O -fno-strict-aliasing -# -lpthreads may be reuqired on some platforms instead of -pthreads +LDFLAGS += -pthread -fno-strict-aliasing +# -lpthreads may be reuiured on some platforms instead of -pthreads # -ldl or -lld may be required for some platforms DCFLAGS = -fPIC DLFLAGS = -shared