FreeBSD build config now uses clang

This commit is contained in:
Günter Obiltschnig 2020-02-16 19:52:01 +01:00
parent 647d370867
commit 4a45cfe05b

View File

@ -1,8 +1,7 @@
# #
# FreeBSD # FreeBSD
# #
# Make settings for FreeBSD 6.0/gcc 3.4 # Make settings for FreeBSD 12.x/clang
#
# #
# #
@ -13,14 +12,14 @@ LINKMODE ?= SHARED
# #
# Define Tools # Define Tools
# #
CC = gcc CC = clang
CXX = g++ CXX = clang++
LINK = $(CXX) LINK = $(CXX)
LIB = ar -cr LIB = ar -cr
RANLIB = ranlib RANLIB = ranlib
SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@ SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.gcc DEP = $(POCO_BASE)/build/script/makedepend.gcc
STRIP = strip STRIP = strip
SHELL = sh SHELL = sh
RM = rm -rf RM = rm -rf
@ -36,7 +35,7 @@ SHAREDLIBLINKEXT = .so
# #
# Compiler and Linker Flags # Compiler and Linker Flags
# #
CFLAGS = CFLAGS =
CFLAGS32 = CFLAGS32 =
CFLAGS64 = CFLAGS64 =
CXXFLAGS = CXXFLAGS =
@ -61,9 +60,9 @@ RELEASEOPT_LINK = -O2
# #
# System Specific Flags # System Specific Flags
# #
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE
# #
# System Specific Libraries # System Specific Libraries
# #
SYSLIBS = -lpthread SYSLIBS = -lpthread