From 18cbe62e69863e185a69ba7349a5a08f94afecd7 Mon Sep 17 00:00:00 2001 From: seyko Date: Fri, 20 May 2016 15:48:02 +0300 Subject: fix a mingw64 build on Linux with --enable-tcc64-mingw * define CONFIG_WIN64=yes when ARCH=x86-64 (not CONFIG_WIN32=yes) * CONFIG_WIN64 now use a windows install part (not a Linux one) --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile index aaddbe3..8f48656 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -68,7 +68,7 @@ else ifeq "$(TARGET)" "x86_64-win" OBJ = $(addprefix $(DIR)/,$(WIN64_O)) TGT = -DTCC_TARGET_X86_64 -DTCC_TARGET_PE - XCC = $(TCC) -B$(top_srcdir)/win32 -I$(top_srcdir)/include + XCC ?= $(TCC) -B$(top_srcdir)/win32 -I$(top_srcdir)/include XAR ?= $(DIR)/tiny_libmaker$(EXESUF) PICFLAGS = else -- cgit v1.3.1