[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Qt compilation options
From: |
Volker Grabsch |
Subject: |
Re: [Mingw-cross-env-list] Qt compilation options |
Date: |
Sat, 10 Aug 2013 10:27:03 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Werner LEMBERG schrieb:
> >> Since some .mk files set CFLAGS the hard way (e.g. in
> >> `twolame.mk'), not allowing for any customization, it seems to be
> >> unsupported, which is a pity.
> >
> > You can export CFLAGS (and anything else you like) in settings.mk -
> > it's read after the `unexport` commands and will apply globally to
> > all packages.
>
> Alas, this is not correct. As written above, some packages use
> hard-coded CFLAGS which can't be overridden. For example, in
> `guile.mk' it is set as
>
> CFLAGS='-Wno-unused-but-set-variable'
>
> I see no reason why the user can't provide her own CFLAGS value, so
> the correct form would rather be
>
> CFLAGS="$(CFLAGS) -Wno-unused-but-set-variable"
>
> I believe. The same holds for almost all other *.mk files.c
Sorry for not answering directly on your proposal, and
to just nitpicking about it. But your command should be
quoted with single-quotes rather than double-quotes:
CFLAGS='$(CFLAGS) -Wno-unused-but-set-variable'
In other words, don't confuse the shell-part and the
Makefile-part of these commands.
Regards,
Volker
--
Volker Grabsch
---<<(())>>---
- [Mingw-cross-env-list] Qt compilation options, Werner LEMBERG, 2013/08/06
- Re: [Mingw-cross-env-list] Qt compilation options, Romain Troit, 2013/08/06
- Re: [Mingw-cross-env-list] Qt compilation options, Werner LEMBERG, 2013/08/07
- Re: [Mingw-cross-env-list] Qt compilation options, r . 3, 2013/08/07
- Re: [Mingw-cross-env-list] Qt compilation options, Tony Theodore, 2013/08/07
- Re: [Mingw-cross-env-list] Qt compilation options, Werner LEMBERG, 2013/08/09
- Re: [Mingw-cross-env-list] Qt compilation options,
Volker Grabsch <=
- [Mingw-cross-env-list] Customising packages (was Qt compilation options), Tony Theodore, 2013/08/10
- Re: [Mingw-cross-env-list] Customising packages, Werner LEMBERG, 2013/08/10
- Re: [Mingw-cross-env-list] Customising packages (was Qt compilation options), Tony Theodore, 2013/08/10
- [Mingw-cross-env-list] Clearing env vars (was Qt compilation options), Tony Theodore, 2013/08/10
- Re: [Mingw-cross-env-list] Clearing env vars (was Qt compilation options), Tony Theodore, 2013/08/10
- Re: [Mingw-cross-env-list] Clearing env vars (was Qt compilation options), Tony Theodore, 2013/08/12
- Re: [Mingw-cross-env-list] Clearing env vars (was Qt compilation options), Volker Grabsch, 2013/08/13
- Re: [Mingw-cross-env-list] Qt compilation options, Tony Theodore, 2013/08/07
- Re: [Mingw-cross-env-list] Qt compilation options, Volker Grabsch, 2013/08/07
- Re: [Mingw-cross-env-list] Qt compilation options, Tony Theodore, 2013/08/08