make/clang.mk

Sat, 21 Dec 2024 21:03:28 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 21 Dec 2024 21:03:28 +0100
changeset 1040
1ecf4dbbc60c
parent 988
15b3ca7ee33f
permissions
-rw-r--r--

add some more overflow treatment and make sure to set errno properly

resolves #469

#
# clang toolchain config
#

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

SHLIB_CFLAGS = -fPIC
SHLIB_LDFLAGS = -shared

mercurial