make/gcc.mk

Sun, 30 Nov 2025 15:45:35 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 30 Nov 2025 15:45:35 +0100
changeset 1533
6d65b1e97136
parent 1311
7072b20aa51f
permissions
-rw-r--r--

include stdalign.h when not using C23 or newer

#
# gcc toolchain config
#

CFLAGS =
CXXFLAGS = -fpermissive
DEBUG_CFLAGS = -g -Wall -Wextra -pedantic
RELEASE_CFLAGS = -O3 -DNDEBUG
LDFLAGS =

SHLIB_CFLAGS = -fPIC
SHLIB_LDFLAGS = -shared

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

mercurial