This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: elfutils issues when building systemtap rpm from snapshot onrawhide
- From: Roland McGrath <roland at redhat dot com>
- To: William Cohen <wcohen at redhat dot com>
- Cc: Ulrich Drepper <drepper at redhat dot com>,SystemTAP <systemtap at sources dot redhat dot com>
- Date: Wed, 9 Nov 2005 12:30:09 -0800 (PST)
- Subject: Re: elfutils issues when building systemtap rpm from snapshot onrawhide
Those rpms are not for rawhide. Rawhide has current elfutils itself, so
the bundled build does not make sense. The problem is rawhide's default
rpm build cflags, which I've worked around in the rawhide elfutils spec file.
I didn't put the same workaround into the systemtap spec file because it's
only needed for rawhide.
# Remove -Wall from default flags. The makefiles enable enough warnings
# themselves, and they use -Werror. Appending -Wall defeats the cases where
# the makefiles disable some specific warnings for specific code.
RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}