summaryrefslogtreecommitdiff
path: root/package/firefox/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-07 13:46:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-07 13:46:17 +0100
commit8cc6444e13a2670407eedee0d417cee6b3ce03e8 (patch)
treed6dfc2315e64a641377f658c94bdde6f22c50580 /package/firefox/Makefile
parent8b3dac771af71587d791d7a8171c2b4036afea10 (diff)
fix firefox on lemote yeelong, with Os/O2 getting illegal instruction for the html5 video on the start site. fix some problems when compiling mozilla with debug on
Diffstat (limited to 'package/firefox/Makefile')
-rw-r--r--package/firefox/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/firefox/Makefile b/package/firefox/Makefile
index 9a9fc399c..3a21a2d80 100644
--- a/package/firefox/Makefile
+++ b/package/firefox/Makefile
@@ -15,7 +15,7 @@ PKG_DEPENDS+= libxdamage libxfixes libidl libsqlite libxcomposite gdk-pixbuf li
PKG_DEPENDS+= harfbuzz mesalib libvpx libbz2 ca-certificates libevent
PKG_BUILDDEP:= alsa-lib glib gtk+ libIDL libX11 MesaLib libtiff gdk-pixbuf
PKG_BUILDDEP+= nspr nss libjpeg-turbo libXt fontconfig sqlite atk libpng hicolor-icon-theme
-PKG_BUILDDEP+= libvpx pango gettext-tiny bzip2 libevent
+PKG_BUILDDEP+= libvpx pango gettext-tiny bzip2 libevent python2-host
PKG_URL:= http://www.mozilla.org/
PKG_SITES:= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${PKG_VERSION}/source/
PKG_NOPARALLEL:= 1
@@ -104,6 +104,10 @@ CONFIGURE_ARGS+= --enable-application=browser \
--disable-safe-browsing \
--disable-elf-hack
+ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)
+TARGET_CFLAGS:= $(subst Os,g3,$(TARGET_CFLAGS))
+endif
+
XAKE_FLAGS+= OS_RELEASE="2.6" HOST_CC=$(CC_FOR_BUILD) HOST_LDFLAGS=$(LDFLAGS_FOR_BUILD)
XAKE_FLAGS+= ARCHFLAG="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} ${TARGET_LDFLAGS} -lnss3 -lnssutil3 -lsmime3 -lssl3 -fPIC"