X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d5c0d8c9374623620844d539d4810da63e9abca1..a1ebfb2e46e13ee87afc91856a4af38175735d74:/src/OS/Makefile-FreeBSD?ds=sidebyside diff --git a/src/OS/Makefile-FreeBSD b/src/OS/Makefile-FreeBSD index 7c6c06487..5f01b84e6 100644 --- a/src/OS/Makefile-FreeBSD +++ b/src/OS/Makefile-FreeBSD @@ -1,11 +1,13 @@ # Exim: OS-specific make file for FreeBSD -# There's no setting of CFLAGS here, to allow the system default -# for "make" to be the default. +# +# 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 + # FreeBSD Ports no longer insert compatibility symlinks into /usr/bin for # scripting languages which traditionally have had them. PERL_COMMAND=/usr/local/bin/perl @@ -13,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