Skip to content

Commit c97e2e8

Browse files
committed
Update build-libwebp.yml
1 parent 9f5717a commit c97e2e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-libwebp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
cmake .. \
7878
-DCMAKE_BUILD_TYPE=MinSizeRel \
7979
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
80-
-DCMAKE_C_FLAGS="-ffunction-sections -fdata-sections -fvisibility=hidden -fno-asynchronous-unwind-tables -Os" \
80+
-DCMAKE_C_FLAGS="-ffunction-sections -fdata-sections -fvisibility=hidden -fno-asynchronous-unwind-tables -Oz" \
8181
-DBUILD_SHARED_LIBS=ON \
8282
-DWEBP_BUILD_ANIM_UTILS=OFF \
8383
-DWEBP_BUILD_CWEBP=OFF \
@@ -90,7 +90,7 @@ jobs:
9090
-DWEBP_BUILD_EXTRAS=OFF \
9191
$EXTRA_FLAGS
9292
cmake --build . --target webp --config MinSizeRel
93-
strip -x libwebp.* 2>/dev/null || true
93+
strip -s libwebp.* 2>/dev/null || true
9494
9595
- name: Build (Windows)
9696
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)