X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f096bcccb8e4c9ba57d128c2f08c52f7dc94e07d..b4a88d7a067354abbe93c7c32264f31d1e461123:/src/OS/Makefile-FreeBSD?ds=inline diff --git a/src/OS/Makefile-FreeBSD b/src/OS/Makefile-FreeBSD index 8dbdab79d..5f01b84e6 100644 --- a/src/OS/Makefile-FreeBSD +++ b/src/OS/Makefile-FreeBSD @@ -1,7 +1,10 @@ # Exim: OS-specific make file for FreeBSD +# +# 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 +#STRIP_COMMAND=/usr/bin/strip CHMOD_COMMAND=/bin/chmod @@ -12,11 +15,14 @@ PERL_COMMAND=/usr/local/bin/perl HAVE_SA_LEN=YES # crypt() is in a separate library -LIBS=-lcrypt -lm -lutil +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