File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ export DYNLOAD=${SDKROOT}/prebuilt/emsdk/${PYBUILD}/lib-dynload
4646
4747EMPIC=${EMSDK} /upstream/emscripten/cache/sysroot/lib/wasm32-emscripten/pic
4848
49-
49+ # CF_SDL="-sUSE_SDL=3"
5050CF_SDL=" ${PREFIX} /lib/libSDL3.a \
5151 ${PREFIX} /lib/libSDL3_image.a ${PREFIX} /lib/libSDL3_ttf.a \
5252 $EMPIC /libfreetype.a \
5353 $EMPIC /libharfbuzz.a"
54- # CF_SDL="-sUSE_SDL=3"
5554CF_SDL=" "
5655
56+ # this one seems always in.
5757# $EMPIC/libal.a"
5858
5959echo "
@@ -72,8 +72,6 @@ CF_SDL=$CF_SDL
7272
7373
7474
75-
76-
7775mkdir -p $DIST_DIR /${DISTRO}${PYMAJOR}${PYMINOR}
7876
7977rm $DIST_DIR /${DISTRO}${PYMAJOR}${PYMINOR} /main.* 2> /dev/null
340338 cat > final_link.sh << END
341339#!/bin/bash
342340. $SDKROOT /emsdk/emsdk_env.sh
343- COPTS="-O0 -g3 $LOPTS " emcc -D__PYGBAG__ \\
341+ COPTS="-Os -g0 $LOPTS " emcc -D__PYGBAG__ \\
344342 $FINAL_OPTS \\
345343 -DNDEBUG \\
346344 -sTOTAL_MEMORY=256MB -sSTACK_SIZE=8MB -sALLOW_TABLE_GROWTH -sALLOW_MEMORY_GROWTH \\
You can’t perform that action at this time.
0 commit comments