Skip to content

Commit

Permalink
fix cross/boost build for older compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 committed Jun 14, 2021
1 parent 00a87ab commit d93c2e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cross/boost/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ CONFIGURE_ARGS += --with-toolset=gcc --with-libraries=$(subst $(space),$(comma),

ifneq ($(strip $(WITH_PYTHON_LIBRARY)),)
CONFIGURE_ARGS += --with-python=$(WORK_DIR)/../../../native/$(PYTHON_NAME)/work-native/install/usr/local/bin/$(PYTHON_NAME)
ADDITIONAL_CFLAGS = -I$(STAGING_INSTALL_PREFIX)/$(PYTHON_INC_DIR)
ADDITIONAL_CXXFLAGS = -I$(STAGING_INSTALL_PREFIX)/$(PYTHON_INC_DIR)
ADDITIONAL_CFLAGS = -I$(STAGING_INSTALL_PREFIX)/$(PYTHON_INC_DIR) -fpermissive
ADDITIONAL_CXXFLAGS = -I$(STAGING_INSTALL_PREFIX)/$(PYTHON_INC_DIR) -fpermissive
endif

include ../../mk/spksrc.cross-cc.mk
Expand Down

0 comments on commit d93c2e0

Please sign in to comment.