apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61417] apr-util MUST NOT use buildflags of installed apr
Date Sun, 29 Oct 2017 15:13:32 GMT

--- Comment #8 from Reindl Harald <h.reindl@thelounge.net> ---
maybe the script below makes it more understandable, it build all that packages
with -mtune=native and these are always installed on the buildmachine

i want to build httpd for older machines without replace apr/apr-util every
time and i have seen no other case where GCC flags are inhertied from whatever
library especially when CFLAGS and LDFLAGS are explicit set

[builduser@testserver:/rpmbuild/SPECS]$ cat build-native.sh

if test $akt_user == "root"
 echo "NOT AS ROOT"
 exit 1

cd /rpmbuild/SPECS/

basearch=`uname -i`
releasever=`rpm -q --qf "%{version}\n" generic-release`

function rh_update_built_packages
 sudo yum-deprecated --nogpgcheck -y update /rpmbuild/RPMS/$basearch/*.rpm
 sudo yum-deprecated --nogpgcheck -y update /rpmbuild/RPMS/noarch/*.rpm

> /rpmbuild/build-native.log

rpmbuild -bb apr.spec --with production 2>&1 | tee -a
rpmbuild -bb apr-util.spec --with production 2>&1 | tee -a
rpmbuild -bb httpd.spec --with production 2>&1 | tee -a
rpmbuild -bb mariadb.spec --with production 2>&1 | tee -a
rpmbuild -bb mod_security.spec --with production 2>&1 | tee -a
rpmbuild -bb php.spec --with production 2>&1 | tee -a
rpmbuild -bb php-pecl*.spec --with production 2>&1 | tee -a
rpmbuild -bb trafficserver.spec --with production 2>&1 | tee -a

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message