39 TPNO= 29533 |
39 TPNO= 29533 |
40 |
40 |
41 include $(WS_MAKE_RULES)/common.mk |
41 include $(WS_MAKE_RULES)/common.mk |
42 include $(PHP_TOP_DIR)/php.mk |
42 include $(PHP_TOP_DIR)/php.mk |
43 |
43 |
|
44 # need GCC_ROOT/bin for configure, usr/sbin for dtrace |
|
45 export PATH=$(GCC_ROOT)/bin:$(USRBINDIR):$(USRSBINDIR):$(GNUBIN) |
|
46 |
44 # We patch configure.in to allow building just modules (no SAPI's), e.g. intl. |
47 # We patch configure.in to allow building just modules (no SAPI's), e.g. intl. |
45 # Since we are sharing the source, regenerate configure here. |
48 # Since we are sharing the source, regenerate configure here. |
46 COMPONENT_PREP_ACTION += (cd $(SOURCE_DIR) ; autoreconf) ; |
49 COMPONENT_PREP_ACTION += (cd $(SOURCE_DIR) ; autoreconf) ; |
47 |
50 |
48 include enable-extensions.mk |
51 include enable-extensions.mk |
49 |
52 |
50 CONFIGURE_OPTIONS += --enable-dtrace |
53 CONFIGURE_OPTIONS += --enable-dtrace |
51 COMPONENT_BUILD_ENV += PATH="$(PATH):$(USRSBINDIR)" |
|
52 |
54 |
53 # Without this, the the build seems to interrogate GCC for potential library |
55 # Without this, the the build seems to interrogate GCC for potential library |
54 # search path information and then embed it into the RUNPATH of selected ELF |
56 # search path information and then embed it into the RUNPATH of selected ELF |
55 # files it creates. This includes GCC private directories |
57 # files it creates. This includes GCC private directories |
56 CONFIGURE_OPTIONS += --disable-rpath |
58 CONFIGURE_OPTIONS += --disable-rpath |