Skip to content

Commit b255885

Browse files
authored
fix snapshot.yml
1 parent ab07147 commit b255885

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/snapshot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ jobs:
103103
cd $HOST-root/usr
104104
cp `$HOST-gcc --print-file-name=libwinpthread-1.dll` ./bin/
105105
# required by libftdi1.dll. For the gcc-mingw-10.3.x or later "libgcc_s_dw2-1.dll" will need to be copied.
106-
cp `$HOST-gcc --print-file-name=libgcc_s_sjlj-1.dll` ./bin/
106+
# For --enable-sjlj-exceptions → use 'libgcc_s_sjlj-1.dll'
107+
# --enable-dwarf2-exceptions → use 'libgcc_s_dw2-1.dll'
108+
cp `$HOST-gcc --print-file-name=libgcc_s_dw2-1.dll` ./bin/
107109
# prepare the artifact
108110
ARTIFACT="openocd-${OPENOCD_TAG}-${HOST}.tar.gz"
109111
tar -czf $ARTIFACT *

0 commit comments

Comments
 (0)