make/clang.mk

Mon, 04 Mar 2024 09:06:15 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 04 Mar 2024 09:06:15 +0100
changeset 842
b48cbfa109d4
parent 788
b34ff44e6433
child 960
a8a5f3dd5c3d
permissions
-rw-r--r--

add -lm to ldflags on Solaris

#
# clang toolchain config
#

CFLAGS =
DEBUG_CC_FLAGS = -g -Wall -Wextra -pedantic
RELEASE_CC_FLAGS = -O3 -DNDEBUG
LDFLAGS =

SHLIB_CFLAGS = -fPIC
SHLIB_LDFLAGS = -shared

COVERAGE_CFLAGS = --coverage
COVERAGE_LDFLAGS =  --coverage

mercurial