make/gcc.mk

Wed, 05 Nov 2025 19:40:06 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 05 Nov 2025 19:40:06 +0100
changeset 1471
2309b553c604
parent 1311
7072b20aa51f
permissions
-rw-r--r--

install shared libs with a new install-lib script, with variants for normal unix and macos - fixes #752 broken macos dylib support

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