File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8282 echo "CFLAGS=-Os -pipe -static -ffunction-sections -fdata-sections -flto" >> $GITHUB_ENV
8383 echo "CXXFLAGS=-Os -pipe -static -ffunction-sections -fdata-sections -flto" >> $GITHUB_ENV
8484 echo "CPPFLAGS=-I${BUILD_BASE}/include" >> $GITHUB_ENV
85- echo "LDFLAGS=-Wl,--gc-sections -Wl,-strip-all - L${BUILD_BASE}/lib -L${BUILD_BASE}/lib64" >> $GITHUB_ENV
85+ echo "LDFLAGS=-L${BUILD_BASE}/lib -L${BUILD_BASE}/lib64" >> $GITHUB_ENV
8686 echo "PKG_CONFIG_PATH=${BUILD_BASE}/lib/pkgconfig" >> $GITHUB_ENV
8787 echo "LD_LIBRARY_PATH=${BUILD_BASE}/lib" >> $GITHUB_ENV
8888
@@ -213,7 +213,7 @@ jobs:
213213 cd ${BUILD_WORK}/wolfssl-${WOLFSSL_VERSION}-stable
214214 ./autogen.sh
215215 ./configure \
216- ${CONFIGURE_FLAGS} \
216+ ${CONFIGURE_FLAGS} \
217217 --disable-examples \
218218 --disable-crypttests \
219219 --disable-tls13 \
@@ -361,7 +361,7 @@ jobs:
361361 ${TSSCHECKER_FLAGS}
362362
363363 make -j$(nproc) -l$(nproc) \
364- LDFLAGS="-all-static -static ${LDFLAGS}"
364+ LDFLAGS="-Wl,--gc-sections -Wl,-strip-all - all-static -static ${LDFLAGS}"
365365 ${TRIPLE}-strip tsschecker/tsschecker${EXE_SUFFIX}
366366
367367 - uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments