mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
Use system C compiler on all platforms
This commit is contained in:
parent
b7036d60ca
commit
2559cfbd76
9
Makefile
9
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user