From 1cfeb7f601e4befcba00354142a2cb556cf7b1d7 Mon Sep 17 00:00:00 2001 From: Mike Date: Thu, 25 Jun 2015 22:37:08 +0900 Subject: [PATCH] fix Issue 14572 (Take 2) - Cannot build from source: 'g++ -m64: No such file or directory' --- src/posix.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/posix.mak b/src/posix.mak index d3f43dfb1744..fbe1088f2407 100644 --- a/src/posix.mak +++ b/src/posix.mak @@ -36,7 +36,7 @@ LDFLAGS=-lm -lstdc++ -lpthread #else HOST_CC=g++ #endif -CC=$(HOST_CC) $(MODEL_FLAG) +CC=$(HOST_CC) GIT=git # Host D compiler for bootstrapping @@ -119,6 +119,7 @@ MMD=-MMD -MF $(basename $@).deps CFLAGS := $(WARNINGS) \ -fno-exceptions -fno-rtti \ -D__pascal= -DMARS=1 -DTARGET_$(OS_UPCASE)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 \ + $(MODEL_FLAG) # Default D compiler flags for all source files DFLAGS=