buildroot/package/woff2/woff2.mk
Fabrice Fontaine 57ee0f74ec package/Makefile.in: set -fno-dwarf2-cfi-asm for m68k_cf
Another package (libsquish) is affected by the
"Internal error in emit_expr_encoded at dw2gencfi.c:215".

This error already affects 5 packages and is due to binutils, see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509

No report has been made to binutils yet however as suggested by Yann
during review of woff2 workaround
(https://patchwork.ozlabs.org/patch/911344/), remove the workarounds
from all these packages and put it in package/Makefile.in

Fixes:

 http://autobuild.buildroot.org/results/77e06c092f4e7804dc166e259b25e779e5f1e83a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-01-13 14:21:52 +01:00

25 lines
753 B
Makefile

################################################################################
#
# woff2
#
################################################################################
WOFF2_VERSION = 1.0.2
WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz
WOFF2_SITE = https://github.com/google/woff2/archive
WOFF2_LICENSE = MIT
WOFF2_LICENSE_FILES = LICENSE
WOFF2_INSTALL_STAGING = YES
WOFF2_DEPENDENCIES = brotli
WOFF2_CONF_OPTS = \
-DNOISY_LOGGING=OFF
# The CMake build files for woff2 manually set some RPATH handling options
# which make the installation steps fail with static builds, so pass this
# to prevent any attempt of mangling RPATH that CMake would do.
ifneq ($(BR2_SHARED_LIBS),y)
WOFF2_CONF_OPTS += -DCMAKE_SKIP_RPATH=ON
endif
$(eval $(cmake-package))