X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9f1a75f126ae217a3a3568b106c9133b3c5c413a..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