File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3636 then
3737 echo " making tarball"
3838 cd /
39-
4039 mkdir -p /tmp/sdk
4140 tar -cpPR \
4241 ${SDKDIR} /config \
Original file line number Diff line number Diff line change 9393 # but only that one.
9494 embuilder --pic build sdl2
9595 embuilder --pic sdl2
96+ rm -rf ${SDKDIR} /emsdk/upstream/emscripten/cache/ports/sdl2/SDL-*
9697 rm -rf ${SDKDIR} /emsdk/upstream/emscripten/tests
9798 fi
9899
99- # -Wno-limited-postlink-optimizations
100-
100+ #
101101
102102 cat > emsdk/upstream/emscripten/emcc << END
103103#!/bin/bash
@@ -106,6 +106,7 @@ unset _PYTHON_SYSCONFIGDATA_NAME
106106unset PYTHONHOME
107107unset PYTHONPATH
108108
109+ COMMON="-Wno-limited-postlink-optimizations"
109110SHARED=""
110111IS_SHARED=false
111112
134135
135136if \$ IS_SHARED
136137then
137- \$ SYS_PYTHON -E \$ 0.py $SHARED $LDFLAGS "\$ @"
138+ \$ SYS_PYTHON -E \$ 0.py $SHARED $LDFLAGS "\$ @" $COMMON
138139else
139- \$ SYS_PYTHON -E \$ 0.py $CPPFLAGS "\$ @"
140+ \$ SYS_PYTHON -E \$ 0.py $CPPFLAGS "\$ @" $COMMON
140141fi
141142END
142143 cat emsdk/upstream/emscripten/emcc > emsdk/upstream/emscripten/em++
You can’t perform that action at this time.
0 commit comments