From 8290a433489493c5929ca62dbef76d6e6564612b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 24 Jan 2016 09:16:32 +0100 Subject: Export CC on Windows Considering we require this compiler, we should set a good default for all sub-Makefiles. --- plugins/c_src.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/c_src.mk') diff --git a/plugins/c_src.mk b/plugins/c_src.mk index 87fd32f..518ba9e 100644 --- a/plugins/c_src.mk +++ b/plugins/c_src.mk @@ -30,6 +30,7 @@ ifeq ($(PLATFORM),msys2) # We hardcode the compiler used on MSYS2. The default CC=cc does # not produce working code. The "gcc" MSYS2 package also doesn't. CC = /mingw64/bin/gcc + export CC CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes CXXFLAGS ?= -O3 -finline-functions -Wall else ifeq ($(PLATFORM),darwin) -- cgit v1.2.3