[gold-users] Bug: configure.ac patch

Michael Jennings mej at lbl.gov
Tue Oct 9 08:52:03 MDT 2012

On Mon, Oct 8, 2012 at 11:52 PM, Jonas Juselius <jonas.juselius at uit.no> wrote:

> It's a very common thing to do when building e.g. rpm or deb packages.

Actually, Michael is right.  Setting prefix via the make command is
*not* correct procedure.  It should be set via ./configure.

Sometimes prefix=$RPM_BUILD_ROOT%{_prefix} is used as part of the
"make install" command, but that's only required if the Makefiles
don't correctly support DESTDIR.  And in that case, you definitely
*don't* want the expanded value being stored or substituted anywhere.


Michael Jennings <mej at lbl.gov>
Senior HPC Systems Engineer
High-Performance Computing Services
Lawrence Berkeley National Laboratory
Bldg 50B-3209E        W: 510-495-2687
MS 050B-3209          F: 510-486-8615

More information about the gold-users mailing list