From 47bc9c5bcd06acb4a98f7f2398421e31415b91ec Mon Sep 17 00:00:00 2001 From: SASANO Takayoshi Date: Wed, 23 Oct 2019 05:48:04 +0900 Subject: [PATCH] use system default compiler replaced gcc/g++ with cc/c++ to support Clang-based system (e.g. OpenBSD). --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a2614c9..2414e70 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -CC = gcc -CXX = g++ +CC = cc +CXX = c++ CFLAGS = -g -O3 -Wall -std=c++0x -pthread LIBS = -lpthread LDFLAGS = -g