From 2559cfbd7677875f88e07d74a6fb04052ed90421 Mon Sep 17 00:00:00 2001 From: Raymond Pasco Date: Tue, 13 Dec 2016 07:47:05 -0800 Subject: [PATCH] Use system C compiler on all platforms --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 0c1f58725f..c514bf46f6 100644 --- a/Makefile +++ b/Makefile @@ -65,17 +65,10 @@ CURLINC=$(shell curl-config --cflags) CURLLIB=$(shell curl-config --libs) RM=rm -f -ifneq ($(UNAME),FreeBSD) -CC=gcc -CXX=g++ -CXXFLAGS=$(CFLAGS) -CLD=g++ $(CFLAGS) -L/usr/local/lib $(OPTLOCALLFLAGS) $(OPENSSLLFLAGS) -else CC=cc CXX=c++ CXXFLAGS=$(CFLAGS) CLD=c++ $(CFLAGS) -L/usr/local/lib $(OPTLOCALLFLAGS) $(OPENSSLLFLAGS) -endif ifeq ($(OS),osx) COSFLAGS=-fno-diagnostics-fixit-info @@ -109,7 +102,7 @@ endif LIBUV_VER=libuv-v1.7.5 -LIBUV_CONFIGURE_OPTIONS= +LIBUV_CONFIGURE_OPTIONS=CC=$(CC) # NOTFORCHECKIN - restore -O3 # -DGHETTO \