TARGET_LDFLAGS += -pthread -lrt
define Build/Compile
- ( cd $(PKG_BUILD_DIR) ; \
+ +( cd $(PKG_BUILD_DIR) ; \
echo "using gcc : $(ARCH) : $(GNU_TARGET_NAME)-gcc : <compileflags>\"$(TARGET_CFLAGS)\" <cxxflags>\"$(TARGET_CXXFLAGS)\" <linkflags>\"$(TARGET_LDFLAGS)\" ;" > tools/build/v2/user-config.jam ; \
$(if $(CONFIG_PACKAGE_boost-python), \
echo "using python : : $(STAGING_DIR_ROOT)/usr/bin/python : $(STAGING_DIR)/usr/include/python2.7/ ;" >> \
tools/build/v2/user-config.jam; \
) \
- +bjam \
+ bjam \
'-sBUILD=release <optimization>space <inlining>on <debug-symbols>off' \
$(filter -j%,$(PKG_JOBS)) \
--toolset=gcc-$(ARCH) --build-type=minimal --layout=system \