CFLAGS and lib-install directory not propagated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Undecided
|
Steven Boswell |
Bug Description
I found two bugs while trying to make an RPM of Mixxx 1.11.0 for the RPMFusion repository.
build/mixxx.py reads the external-
Also, the install paths for bin, lib, and share were being hardcoded (by src/SConscript) relative to the prefix. In 64-bit Fedora builds, the library directory is "/usr/lib64", not "/usr/lib". I made it possible to specify environment variables BINDIR, LIBDIR, and SHAREDIR, so that the default could be overridden if necessary.
Please consider applying this patch to the 1.11.0 release branch.
Hey Steven,
Thanks for the patch. CCFLAGS is a SCons-ism: www.scons. org/doc/ 1.1.0/HTML/ scons-user/ a4761.html# cv-CCFLAGS
http://
CFLAGS/CXXFLAGS is intentional when reading the environment variables
because it allows you to customize them independently. We use CCFLAGS
everywhere else to prevent copypasta.
On Sun, May 26, 2013 at 5:44 PM, Steven Boswell <email address hidden> wrote:
> Public bug reported: environment variable CFLAGS, and then environment dictionary keyed by CFLAGS, but the 1.11.0- installpath. patch" /bugs.launchpad .net/bugs/ 1184432/ +attachment/ 3687436/ +files/ mixxx-1. 11.0-installpat h.patch /bugs.launchpad .net/bugs/ 1184432 /bugs.launchpad .net/mixxx/ +bug/1184432/ +subscriptions
>
> I found two bugs while trying to make an RPM of Mixxx 1.11.0 for the
> RPMFusion repository.
>
> build/mixxx.py reads the external-
> saves it in the internal-
> rest of the build system uses CCFLAGS. The enclosed patch fixes that.
>
> Also, the install paths for bin, lib, and share were being hardcoded (by
> src/SConscript) relative to the prefix. In 64-bit Fedora builds, the
> library directory is "/usr/lib64", not "/usr/lib". I made it possible
> to specify environment variables BINDIR, LIBDIR, and SHAREDIR, so that
> the default could be overridden if necessary.
>
> Please consider applying this patch to the 1.11.0 release branch.
>
> ** Affects: mixxx
> Importance: Undecided
> Assignee: Steven Boswell (ulatekh)
> Status: New
>
> ** Patch added: "mixxx-
>
> https:/
>
> ** Changed in: mixxx
> Assignee: (unassigned) => Steven Boswell (ulatekh)
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https:/
>
> Title:
> CFLAGS and lib-install directory not propagated
>
> To manage notifications about this bug go to:
> https:/
>