mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] PTXCONF_TARGET_EXTRA_CXXFLAGS
@ 2016-02-11 13:44 Erwin Rol
  2016-02-15  8:51 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Erwin Rol @ 2016-02-11 13:44 UTC (permalink / raw)
  To: ptxdist

Hallo,

can PTXCONF_TARGET_EXTRA_CXXFLAGS be used on a per package basis ? I
need to pass -std=gnu++11 to Qt5 to build qtwebengine and as a test I
changed PTXCONF_TARGET_EXTRA_CXXFLAGS in ./ptxdist menuconfig and it
worked.

- Erwin


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] PTXCONF_TARGET_EXTRA_CXXFLAGS
  2016-02-11 13:44 [ptxdist] PTXCONF_TARGET_EXTRA_CXXFLAGS Erwin Rol
@ 2016-02-15  8:51 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2016-02-15  8:51 UTC (permalink / raw)
  To: ptxdist

Hi,

On Thu, Feb 11, 2016 at 02:44:58PM +0100, Erwin Rol wrote:
> can PTXCONF_TARGET_EXTRA_CXXFLAGS be used on a per package basis ? I
> need to pass -std=gnu++11 to Qt5 to build qtwebengine and as a test I
> changed PTXCONF_TARGET_EXTRA_CXXFLAGS in ./ptxdist menuconfig and it
> worked.

You can set QT5_CXXFLAGS="-std=gnu++11". This way, this is only used for
Qt5 and no other package. These flags are added right before
PTXCONF_TARGET_EXTRA_CXXFLAGS and is the per package version of this
option.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-15  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-11 13:44 [ptxdist] PTXCONF_TARGET_EXTRA_CXXFLAGS Erwin Rol
2016-02-15  8:51 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox