Skip to content

Commit

Permalink
FreeBSD build config now uses clang
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed Feb 16, 2020
1 parent 647d370 commit 4a45cfe
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions build/config/FreeBSD
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#
# FreeBSD
#
# Make settings for FreeBSD 6.0/gcc 3.4
#
# Make settings for FreeBSD 12.x/clang
#

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

#
# System Specific Libraries
#
SYSLIBS = -lpthread
SYSLIBS = -lpthread

0 comments on commit 4a45cfe

Please sign in to comment.