make/clang.mk

Fri, 10 Jan 2025 15:03:58 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 10 Jan 2025 15:03:58 +0100
changeset 1118
9fa87f9882ba
parent 988
15b3ca7ee33f
permissions
-rw-r--r--

fix build on Solaris 10 and other platforms, where ferror is a just a macro

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