shithub: puzzles

Download patch

ref: e20644a3baa70dfd5baf790047ce821b396df312
parent: 7a93ae5d3c90cb5d1d8d775a8cd9d30bc745f658
author: Simon Tatham <anakin@pobox.com>
date: Thu Feb 29 02:54:24 EST 2024

Emscripten build: stop setting MIN_EDGE_VERSION.

Emscripten 3.1.51 withdrew support for legacy (pre-Chrome) Edge
completely, and this command-line option now provokes an error from
the compiler.

--- a/cmake/platforms/emscripten.cmake
+++ b/cmake/platforms/emscripten.cmake
@@ -15,8 +15,6 @@
   "Oldest major version of Firefox to target")
 set(MIN_SAFARI_VERSION 110000 CACHE STRING
   "Oldest version of desktop Safari to target (XXYYZZ for version XX.YY.ZZ)")
-set(MIN_EDGE_VERSION 16 CACHE STRING
-  "Oldest version of (non-Chromium-based) Edge to target")
 set(MIN_CHROME_VERSION 57 CACHE STRING
   "Oldest version of Chrome to target")
 
@@ -68,7 +66,6 @@
 -s EXPORTED_RUNTIME_METHODS='[cwrap]' \
 -s MIN_FIREFOX_VERSION=${MIN_FIREFOX_VERSION} \
 -s MIN_SAFARI_VERSION=${MIN_SAFARI_VERSION} \
--s MIN_EDGE_VERSION=${MIN_EDGE_VERSION} \
 -s MIN_CHROME_VERSION=${MIN_CHROME_VERSION} \
 -s MIN_NODE_VERSION=0x7FFFFFFF \
 -s STRICT_JS=1")