From 68cfe5bbe327cbadec2e90fd8d5e86884522620a Mon Sep 17 00:00:00 2001 From: SASANO Takayoshi Date: Thu, 21 Mar 2019 15:49:01 +0900 Subject: [PATCH] Use system default compiler. At least there is no difference under Linux. OpenBSD's gcc is old (4.2) so we have to use clang-6.0.0 compiler. --- ambed/makefile | 2 +- ambedtest/makefile | 2 +- src/makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ambed/makefile b/ambed/makefile index c556a28..c9a1e5e 100644 --- a/ambed/makefile +++ b/ambed/makefile @@ -1,4 +1,4 @@ -CC=g++ +CC=c++ CFLAGS=-c -std=c++11 -pthread LDFLAGS=-std=c++11 -pthread SOURCES=$(wildcard *.cpp) diff --git a/ambedtest/makefile b/ambedtest/makefile index bc1a804..874504f 100644 --- a/ambedtest/makefile +++ b/ambedtest/makefile @@ -1,4 +1,4 @@ -CC=g++ +CC=c++ CFLAGS=-c -std=c++11 -pthread LDFLAGS=-std=c++11 -pthread SOURCES=$(wildcard *.cpp) diff --git a/src/makefile b/src/makefile index de1e0db..5946b6e 100644 --- a/src/makefile +++ b/src/makefile @@ -1,4 +1,4 @@ -CC=g++ +CC=c++ CFLAGS=-c -std=c++11 -pthread LDFLAGS=-std=c++11 -pthread SOURCES=$(wildcard *.cpp)