Skip to content

Commit

Permalink
Don't link to mingw startup files in win64 build too.
Browse files Browse the repository at this point in the history
Reduces size of 64 bit windows exe by 10kb
  • Loading branch information
UnknownShadow200 committed Jul 6, 2019
1 parent 4949e64 commit d45b37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/buildbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CLANGOSX_PATH=/usr/bin/clang/osx
# to simplify stuff
ALL_FLAGS="-O1 -s -fno-stack-protector -fno-math-errno -w"
WIN32_FLAGS="-mwindows -nostartfiles -Wl,-e_main_real -DCC_NOMAIN"
WIN64_FLAGS="-mwindows"
WIN64_FLAGS="-mwindows -nostartfiles -Wl,-emain_real -DCC_NOMAIN"

# -----------------------------
build_win32() {
Expand Down

0 comments on commit d45b37d

Please sign in to comment.