X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/48ea675fee2d5fee8d33c525e28727b69114cfce..a1ebfb2e46e13ee87afc91856a4af38175735d74:/src/OS/Makefile-FreeBSD diff --git a/src/OS/Makefile-FreeBSD b/src/OS/Makefile-FreeBSD index 4793a438b..5f01b84e6 100644 --- a/src/OS/Makefile-FreeBSD +++ b/src/OS/Makefile-FreeBSD @@ -1,5 +1,7 @@ # Exim: OS-specific make file for FreeBSD -# Copyright (c) The Exim Maintainers 2020 +# +# Copyright (c) The Exim Maintainers 2020 - 2023 +# SPDX-License-Identifier: GPL-2.0-or-later CHOWN_COMMAND=/usr/sbin/chown #STRIP_COMMAND=/usr/bin/strip @@ -18,6 +20,9 @@ LIBS=-lcrypt -lm -lutil -lexecinfo # Dynamically loaded modules need to be built with -fPIC CFLAGS_DYNAMIC=-shared -rdynamic -fPIC +# Partial-linking needs -nostdlib +LDFLAGS_PARTIAL=-nostdlib + # FreeBSD always ships with Berkeley DB USE_DB=yes