Skip to content

Commit ac717f4

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent 3fecd32 commit ac717f4

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

build_libtcod.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,12 @@ def walk_sources(directory: str) -> Iterator[str]:
195195
MSVC_CFLAGS = {"DEBUG": ["/Od"], "RELEASE": ["/GL", "/O2", "/GS-", "/wd4996"]}
196196
MSVC_LDFLAGS: dict[str, list[str]] = {"DEBUG": [], "RELEASE": ["/LTCG"]}
197197
GCC_CFLAGS = {
198-
"DEBUG": ["-std=c99", "-Og", "-g", "-fPIC"],
198+
"DEBUG": ["-std=c99", "-Og", "-g"],
199199
"RELEASE": [
200200
"-std=c99",
201201
"-flto",
202202
"-O3",
203203
"-g",
204-
"-fPIC",
205204
"-Wno-deprecated-declarations",
206205
"-Wno-discarded-qualifiers", # Ignore discarded restrict qualifiers.
207206
],

build_sdl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,6 @@ def get_emscripten_include_dir() -> Path:
314314
matches = [str(Path(sysroot, "include"))]
315315
library_dirs.append(str(Path(sysroot, "lib/wasm32-emscripten")))
316316
out = ""
317-
extra_compile_args.append("-shared")
318-
extra_link_args.append("-shared")
319317
else:
320318
cmake_out = subprocess.run(
321319
(*CMAKE_FIND_SDL_CMD, "-D", "MODE=COMPILE"), check=False, text=True, stdout=subprocess.PIPE

0 commit comments

Comments
 (0)