From 398fd5f129db52063893098454f99b09633f0054 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 5 Dec 2019 17:51:36 +0330 Subject: fixing m0s builds for all llvm versions, added a windows cygwin build test on appveyor --- m0/makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'm0/makefile') diff --git a/m0/makefile b/m0/makefile index a9afeaf..cd7f0be 100644 --- a/m0/makefile +++ b/m0/makefile @@ -3,10 +3,18 @@ SHELL=bash SHELL?=bash CC=clang CC?=clang +ifdef OS +CFLAGS=-std=c11 +else CFLAGS=-fpic -std=c11 +endif CXX=clang++ CXX?=clang++ +ifdef OS +CXX_FLAGS=-fpic +else CXX_FLAGS=-fpic +endif CXX_EXTRA?= CTAGS_I_PATH?=./ LD_FLAGS= -- cgit v1.2.3