make/clang.mk

Sun, 15 Dec 2024 15:41:18 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 15 Dec 2024 15:41:18 +0100
changeset 1018
c773da859bad
parent 988
15b3ca7ee33f
permissions
-rw-r--r--

fix compilation for compilers which don't set __WORDSIZE

#
# 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