Skip to content

Commit a52d1c3

Browse files
committed
chore: add same flag for CXX_FLAGS
1 parent 6fe7c96 commit a52d1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ jobs:
208208
git apply ../../patches/gdal_reduce_size.patch
209209
mkdir -p build && cd build
210210
emcmake cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/dist \
211-
-DCMAKE_CXX_FLAGS="-s SUPPORT_LONGJMP=wasm" -DCMAKE_C_FLAGS="-s SUPPORT_LONGJMP=wasm -s ERROR_ON_UNDEFINED_SYMBOLS=0" \
211+
-DCMAKE_CXX_FLAGS="-s SUPPORT_LONGJMP=wasm -s ERROR_ON_UNDEFINED_SYMBOLS=0" -DCMAKE_C_FLAGS="-s SUPPORT_LONGJMP=wasm -s ERROR_ON_UNDEFINED_SYMBOLS=0" \
212212
-DPROJ_INCLUDE_DIR=$GITHUB_WORKSPACE/dist/include -DPROJ_LIBRARY=$GITHUB_WORKSPACE/dist/lib/libproj.a \
213213
-DSQLite3_INCLUDE_DIR=$GITHUB_WORKSPACE/dist/include -DSQLite3_LIBRARY=$GITHUB_WORKSPACE/dist/lib/libsqlite3.a \
214214
-DPNG_LIBRARY=$EM_CACHE/sysroot/lib/wasm32-emscripten/libpng-wasm-sjlj.a \

0 commit comments

Comments
 (0)