summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/winres/compile
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/run-virt/winres/compile')
-rwxr-xr-xremote/modules/run-virt/winres/compile2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/run-virt/winres/compile b/remote/modules/run-virt/winres/compile
index 772571fb..da2f59eb 100755
--- a/remote/modules/run-virt/winres/compile
+++ b/remote/modules/run-virt/winres/compile
@@ -2,7 +2,7 @@
rm -- winres.exe
i686-w64-mingw32-windres -i winres.rc -o resource.res -O coff
-i686-w64-mingw32-gcc -Wall -Wextra -pedantic -Wno-unused-parameter -std=c99 -Os -Wl,--subsystem,windows -o winres.exe winres.c resource.res -lole32 -luuid -lgdi32 -lws2_32 -lshell32 -lmpr
+i686-w64-mingw32-gcc -Wall -Wextra -pedantic -Wno-unused-parameter -flto -std=c99 -Os -Wl,--subsystem,windows -o winres.exe winres.c resource.res -lole32 -luuid -lgdi32 -lws2_32 -lshell32 -lmpr -lshlwapi
rm -- resource.res
if strip winres.exe; then
echo "Successfully created winres.exe"