boost: fix handling of BR2_PACKAGE_BOOST_FIBER option
authorAdam Duskett <aduskett@gmail.com>
Fri, 3 Nov 2017 13:27:50 +0000 (09:27 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 3 Nov 2017 17:47:50 +0000 (18:47 +0100)
commit1e559557ac713707c6160da3facf251476f99925
treecfb32b30283310d0b137c1f8dc6e3115580f223c
parent3947b14c68d9502fd297e9513cec015eb72fc171
boost: fix handling of BR2_PACKAGE_BOOST_FIBER option

Commit 657dbfa00af724c2539a08eaaf0c8044dd4051d7 ("boost: add fiber
module"), introduced:

BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FILESYSTEM),,fiber)

which obviously is a typo, and should have been:

BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FIBER),,fiber)

Due to this, the fiber module gets compiled even if
BR2_PACKAGE_BOOST_FIBER is disabled, causing build failures when NPTL
is not available (the fiber library needs NPTL threads).

Fixes:

  http://autobuild.buildroot.net/results/c8b58bf37b565e7a4dd7959e0d9c1cec993758ba/
  http://autobuild.buildroot.net/results/df6f9d51ee766a6f8fca986cdc7476d148dad53e/
  http://autobuild.buildroot.net/results/fecc16df052ac5b14d3b15e174c7026dfcc8fd33/

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/boost/boost.mk