From f12851e388e4df1b609a849581371d116f52a2ae Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Thu, 27 Apr 2017 07:01:46 +0200 Subject: [PATCH] Add -static to be in sync with Windows bat. --- win32/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/Makefile b/win32/Makefile index ad5d8e14..157b0b2e 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -9,7 +9,7 @@ CPU = $(shell if `gcc -v 2>&1 | grep Target | grep -q x86_64`; then echo 64; else echo 32; fi) VERSION = $(shell cat ../VERSION) BOOTCC = gcc -CFLAGS = -s -fno-strict-aliasing -Wno-incompatible-pointer-types -DTCC_TARGET_PE -DONE_SOURCE +CFLAGS = -s -static -fno-strict-aliasing -Wno-incompatible-pointer-types -DTCC_TARGET_PE -DONE_SOURCE ifeq ($(CPU), 64) NATIVE = -m$(CPU) -DTCC_TARGET_X86_64 -- 2.11.4.GIT