Skip to content

Commit 1225dcb

Browse files
committed
Update prepare-libs.sh
1 parent 243306b commit 1225dcb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/prepare-libs.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ else
143143
if [ "$IDF_TARGET" = "esp32" ]; then
144144
flags="-Wno-frame-address $flags"
145145
fi
146-
str="-mlongcalls $flags $libs"
146+
if [ "$IDF_TARGET" != "esp32c3" ]; then
147+
flags="-mlongcalls $flags"
148+
fi
149+
str="$flags $libs"
147150
fi
148151
set -- $str
149152
for item; do

0 commit comments

Comments
 (0)