From: Thomas Pornin Date: Mon, 28 Aug 2017 14:26:33 +0000 (+0200) Subject: Switch C compiler to the generic 'cc' (to use the default compiler, not necessarily... X-Git-Tag: v0.6~23 X-Git-Url: https://bearssl.org/gitweb//home/git/?p=BearSSL;a=commitdiff_plain;h=5b980fb6250788735f56d9640696864e82e35f59 Switch C compiler to the generic 'cc' (to use the default compiler, not necessarily GCC -- this is for systems that offer both GCC and Clang, and use Clang as default). --- diff --git a/conf/Unix.mk b/conf/Unix.mk index 7764748..02f2b2b 100644 --- a/conf/Unix.mk +++ b/conf/Unix.mk @@ -37,7 +37,7 @@ RM = rm -f MKDIR = mkdir -p # C compiler and flags. -CC = gcc +CC = cc CFLAGS = -W -Wall -Os -fPIC CCOUT = -c -o @@ -47,12 +47,12 @@ ARFLAGS = -rcs AROUT = # DLL building tool. -LDDLL = gcc +LDDLL = cc LDDLLFLAGS = -shared LDDLLOUT = -o # Static linker. -LD = gcc +LD = cc LDFLAGS = LDOUT = -o