# HG changeset patch # User Norm Jacobs # Date 1476832667 25200 # Node ID cb5d17e1b8bc3b880c8776416a5f964d39653045 # Parent 3e0b5da5d4d13b99cadd626c1067ac39415c1509 24914599 php should not rely on path for gcc diff -r 3e0b5da5d4d1 -r cb5d17e1b8bc components/php/php56/Makefile --- a/components/php/php56/Makefile Tue Oct 18 14:50:56 2016 -0700 +++ b/components/php/php56/Makefile Tue Oct 18 16:17:47 2016 -0700 @@ -41,6 +41,9 @@ include $(WS_MAKE_RULES)/common.mk include $(PHP_TOP_DIR)/php.mk +# need GCC_ROOT/bin for configure, usr/sbin for dtrace +export PATH=$(GCC_ROOT)/bin:$(USRBINDIR):$(USRSBINDIR):$(GNUBIN) + # We patch configure.in to allow building just modules (no SAPI's), e.g. intl. # Since we are sharing the source, regenerate configure here. COMPONENT_PREP_ACTION += (cd $(SOURCE_DIR) ; autoreconf) ; @@ -48,7 +51,6 @@ include enable-extensions.mk CONFIGURE_OPTIONS += --enable-dtrace -COMPONENT_BUILD_ENV += PATH="$(PATH):$(USRSBINDIR)" # Without this, the the build seems to interrogate GCC for potential library # search path information and then embed it into the RUNPATH of selected ELF