mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-12-05 15:15:47 +00:00
Add -static to be in sync with Windows bat.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
CPU = $(shell if `gcc -v 2>&1 | grep Target | grep -q x86_64`; then echo 64; else echo 32; fi)
|
CPU = $(shell if `gcc -v 2>&1 | grep Target | grep -q x86_64`; then echo 64; else echo 32; fi)
|
||||||
VERSION = $(shell cat ../VERSION)
|
VERSION = $(shell cat ../VERSION)
|
||||||
BOOTCC = gcc
|
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)
|
ifeq ($(CPU), 64)
|
||||||
NATIVE = -m$(CPU) -DTCC_TARGET_X86_64
|
NATIVE = -m$(CPU) -DTCC_TARGET_X86_64
|
||||||
|
|||||||
Reference in New Issue
Block a user