Skip to content
Snippets Groups Projects
Commit 5f309acd authored by Simon McVittie's avatar Simon McVittie
Browse files

Explicitly select gcc/g++ even if clang is installed, overriding ICU's...

Explicitly select gcc/g++ even if clang is installed, overriding ICU's configure.ac (Closes: #878669)
parent ec3e8785
Branches
Tags
No related merge requests found
......@@ -3,6 +3,8 @@ mozjs52 (52.3.1-6) UNRELEASED; urgency=medium
* Disable JIT on mips. Upstream describe it as unsupported, and a slow
interpreter is better than a broken JIT.
(Might close: #878519, #878284)
* Explicitly select gcc/g++ even if clang is installed, overriding ICU's
configure.ac (Closes: #878669)
-- Simon McVittie <smcv@debian.org> Sun, 15 Oct 2017 11:34:57 +0100
......
......@@ -52,7 +52,11 @@ override_dh_clean:
# dh_auto_configure does not properly handle autoconf2.13 generated configure
# scripts, so we call configure ourselves.
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570375
# The bundled copy of icu prefers clang, which we need to override to
# use gcc because clang doesn't support our DEB_CFLAGS_MAINT_APPEND
override_dh_auto_configure:
CC=$${CC:-$(DEB_HOST_GNU_TYPE)-gcc} \
CXX=$${CXX:-$(DEB_HOST_GNU_TYPE)-g++} \
VERBOSE=1 python intl/icu_sources_data.py "$(CURDIR)"
cd $(SRCDIR) && $(SHELL) configure \
--host=$(DEB_HOST_GNU_TYPE) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment