make/gcc.mk

Sat, 18 Jan 2025 14:10:51 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 18 Jan 2025 14:10:51 +0100
changeset 1134
60edcd57d54c
parent 1065
6eb7b54975ee
permissions
-rw-r--r--

fix that some IDEs cannot resolve documentation

the way we used macros was confusing the IDE

fixes #562

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