aboutsummaryrefslogtreecommitdiff
path: root/win32/Makefile
diff options
context:
space:
mode:
authorChristian Jullien <Christian Jullien>2017-04-27 07:01:46 +0200
committerChristian Jullien <Christian Jullien>2017-04-27 07:01:46 +0200
commitf12851e388e4df1b609a849581371d116f52a2ae (patch)
treeefd4f479a4385d03558e3f2ecc904eea82b8ac22 /win32/Makefile
parenta35752d2333c74babd62a6efd318d2c00c192a97 (diff)
downloadtinycc-f12851e388e4df1b609a849581371d116f52a2ae.tar.gz
tinycc-f12851e388e4df1b609a849581371d116f52a2ae.tar.bz2
Add -static to be in sync with Windows bat.
Diffstat (limited to 'win32/Makefile')
-rw-r--r--win32/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile b/win32/Makefile
index ad5d8e1..157b0b2 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