firefox: Fix build

mk/endian.mk includes mk/compiler.mk and PKG_CC and PKG_CXX were
effective.
Now mk/endian.mk has been removed and include mk/compiler.mk
explicitly to use clang only.

Reported by martin@ on tech-pkg@.
This commit is contained in:
ryoon 2020-11-11 15:30:46 +00:00
parent 38cd4461d9
commit 2768c50918

View file

@ -1,4 +1,4 @@
# $NetBSD: mozilla-common.mk,v 1.183 2020/11/11 10:11:21 nia Exp $
# $NetBSD: mozilla-common.mk,v 1.184 2020/11/11 15:30:46 ryoon Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@ -22,6 +22,8 @@ CONFIGURE_ARGS+= --prefix=${PREFIX}
USE_TOOLS+= pkg-config perl gmake autoconf213 gm4 unzip zip
UNLIMIT_RESOURCES+= datasize virtualsize
.include "../../mk/compiler.mk"
# firefox needs a compiler that supports gnu++14 and gnu++17.
# However, passing --std=gnu++17 (from wrappers, as a result of
# USE_LANGUAGES), results in problems for some Rust modules (as of