> Please try the attached patch on top of the previous one.
>
> Mike, fingers-crossed.
&& mv js-config.tmp js-config && chmod +x js-config
make[1]: Leaving directory `/root/xulrunner/xulrunner-1.9.1.1/js/src'
sed -i 's|^OS_LDFLAGS.*|& -Wl,--as-needed|' config/autoconf.mk
LDFLAGS +=
-Wl,--version-script=/root/xulrunner/xulrunner-1.9.1.1/debian/symbols.filter
make: LDFLAGS: Command not found
make: *** [config.status] Error 127
> diff --git a/debian/rules b/debian/rules
> index 8bcad32..cbaa88c 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -52,10 +52,6 @@ ifeq (,$(filter debug noopt,$(DEB_BUILD_OPTIONS)))
> GENSYMBOLS_FLAGS := -c4
> endif
>
> -ifeq ($(DEB_BUILD_ARCH)$(GCC_4_4_OR_MORE),armel)
> - LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/symbols.filter
> -endif
> -
> COMPONENT_PACKAGES := python-xpcom xulrunner-$(BASE_VERSION)-gnome-support
> COMPONENT_SCRIPTS := $(COMPONENT_PACKAGES:%=debian/%.postinst)
> $(COMPONENT_PACKAGES:%=debian/%.postrm)
> GENERATED_FILES := $(COMPONENT_SCRIPTS)
> debian/xulrunner-$(BASE_VERSION).postinst
> @@ -82,6 +78,11 @@ config.status: ./configure debian/mozconfig
> CXXFLAGS="$(CFLAGS)" \
> ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
> $(CONFIGURE_FLAGS)
> + sed -i 's|^OS_LDFLAGS.*|& $(LDFLAGS)|' config/autoconf.mk
> +ifeq ($(DEB_BUILD_ARCH)$(GCC_4_4_OR_MORE),armel)
> + LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/symbols.filter
> +endif
> + sed -i 's|^OS_LDFLAGS.*|& $(LDFLAGS)|' js/src/config/autoconf.mk
>
> build: build-stamp
>
> @@ -93,8 +94,7 @@ build-stamp: config.status
> $(MAKE) \
> PYTHON_SO=$(shell objdump -p /usr/lib/lib$(PYVER).so | awk
> '/SONAME/ {print $$2}') \
> $(JAVA_VARS) \
> - DEB_NO_JAR=1 \
> - OS_LDFLAGS="$(LDFLAGS) $(shell sed -n 's/^OS_LDFLAGS\s*=\s*//p'
> config/autoconf.mk)"
> + DEB_NO_JAR=1
> #docbook-to-man debian/xulrunner.sgml > xulrunner.1
>
> touch build-stamp
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]