diff --git a/sendmail.spec b/sendmail.spec index 0243a50..f39d161 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -144,7 +144,9 @@ your sendmail.cf file. # generate redhat config file cat > redhat.config.m4 << EOF define(\`confMAPDEF', \`-DNEWDB -DNIS -DHESIOD -DMAP_REGEX -DSOCKETMAP') +%ifnarch ppc64 define(\`confOPTIMIZE', \`\`\`${RPM_OPT_FLAGS}''') +%endif define(\`confENVDEF', \`-I/usr/include/db4 -I/usr/kerberos/include -Wall -DXDEBUG=0 -DTCPWRAPPERS -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_WORKAROUND_BROKEN_NAMESERVERS -D_FFR_SMTP_SSL') define(\`confLIBDIRS', \`-L/usr/kerberos/%{_lib}') define(\`confLIBS', \`-lnsl -lwrap -lhesiod -lcrypt -ldb')