make/gcc.mk

Tue, 07 Jan 2025 00:12:46 +0100

author
Mike Becker <universe@uap-core.de>
date
Tue, 07 Jan 2025 00:12:46 +0100
changeset 1112
22dc2163fffd
parent 1065
6eb7b54975ee
permissions
-rw-r--r--

add convenience macros to avoid a fptr cast for cxBufferRead and cxBufferWrite

fixes #545

#
# gcc toolchain config
#

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

SHLIB_CFLAGS = -fPIC
SHLIB_LDFLAGS = -shared

COVERAGE_CFLAGS = --coverage -DNDEBUG
COVERAGE_LDFLAGS =  --coverage

mercurial