Skip to content

Commit c3cd00e

Browse files
committed
Added Flags To Reduce Build Size
1 parent ed117b6 commit c3cd00e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ VERSION="0.2.3"
1111

1212
if [[ $1 = '' ]]; then
1313
echo "Compiling '$ENTRY_FILE' into '$DIST'"
14-
${COMPILER} build -o ${OUTPUT} -v ${ENTRY_FILE}
14+
${COMPILER} build -ldflags "-s -w" -o ${OUTPUT} -v ${ENTRY_FILE}
1515
echo "Compiled Successfully into '$OUTPUT'"
1616
elif [[ $1 = 'appimage' ]]; then
1717
echo "Building AppImage"

0 commit comments

Comments
 (0)