From 3373787599507721896e019bd7022c820616c3e7 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 29 Nov 2019 16:48:14 +0330 Subject: fixing windows cygwin build on appveyor [travis skip] --- obfuscator/makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'obfuscator') diff --git a/obfuscator/makefile b/obfuscator/makefile index c8ad51b..b8b76ed 100644 --- a/obfuscator/makefile +++ b/obfuscator/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= +else CXX_FLAGS=-fpic +endif CXX_EXTRA?= CTAGS_I_PATH?=./ LD_FLAGS= -- cgit v1.2.3