Specify value for confCC in redhat.config.m4

__cc defaults to gcc, so this does not change the current build at all, but
it allows us to to do test builds with other compilers simply by
redefining the __cc macro.
This commit is contained in:
Tom Stellard 2020-04-03 00:23:58 +00:00
parent 16f69e768f
commit eda1a426f3

View File

@ -19,7 +19,7 @@
Summary: A widely used Mail Transport Agent (MTA)
Name: sendmail
Version: 8.15.2
Release: 43%{?dist}
Release: 44%{?dist}
License: Sendmail
URL: http://www.sendmail.org/
@ -237,6 +237,7 @@ define(\`confMAN8SRC', \`8')
define(\`confSTDIR', \`%{stdir}')
define(\`STATUS_FILE', \`%{stdir}/statistics')
define(\`confLIBSEARCH', \`db resolv 44bsd')
define(\`confCC', \`%{__cc}')
EOF
#'
@ -713,6 +714,9 @@ exit 0
%changelog
* Fri Apr 03 2020 Tom Stellard <tstellar@redhat.com> - 8.15.2-44
- Specify value for confCC in redhat.config.m4
* Mon Feb 10 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-43
- Fixed FTBFS with gcc-10
Resolves: rhbz#1800082