Files
odfstudio/external/box2d/UnpackedTarball_box2d.mk
Xisco Fauli 6d66c2d8ba box2d: fix wasm build
it fails with
In file included from /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/build_master/workdir/UnpackedTarball/box2d/src/contact_solver.c:527:
/home/tdf/lode/emsdk/upstream/emscripten/cache/sysroot/include/compat/emmintrin.h:11:2: error: "SSE2 instruction set not enabled"
   11 | #error "SSE2 instruction set not enabled"
      |  ^
In file included from /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/build_master/workdir/UnpackedTarball/box2d/src/contact_solver.c:527:
In file included from /home/tdf/lode/emsdk/upstream/emscripten/cache/sysroot/include/compat/emmintrin.h:14:
/home/tdf/lode/emsdk/upstream/emscripten/cache/sysroot/include/compat/xmmintrin.h:17:2: error: "SSE instruction set not enabled"
   17 | #error "SSE instruction set not enabled"
      |  ^
2 errors generated.

Change-Id: Ie5f32b7f3a2062e041ed3a14fc2f8d3cf3a2dcc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204968
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-09 12:45:28 +02:00

19 lines
562 B
Makefile

#-*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_UnpackedTarball_UnpackedTarball,box2d))
$(eval $(call gb_UnpackedTarball_set_tarball,box2d,$(BOX2D_TARBALL)))
$(eval $(call gb_UnpackedTarball_add_patches,box2d, \
external/box2d/wasm.patch \
))
# vim: set noet sw=4 ts=4: