mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 19:16:39 -04:00
Use official/correct repo Reduce patching Don't override LDFLAGS from Ports framework PR: 256960 Approved by: port maintainer timeout (2+ months), arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D32217
17 lines
587 B
Text
17 lines
587 B
Text
--- Makefile.FreeBSD.orig 2021-07-01 16:59:57 UTC
|
|
+++ Makefile.FreeBSD
|
|
@@ -10,11 +10,11 @@
|
|
BUILDDIR = ../bin/
|
|
CC ?= gcc
|
|
|
|
-CFLAGS = -c -O -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
|
|
+CFLAGS += -c -DNOODBC -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
|
|
+# -lpthreads may be required on some platforms instead of -pthreads
|
|
# -ldl or -lld may be required for some platforms
|
|
DCFLAGS = -fPIC
|
|
DLFLAGS = -shared
|