make/gcc.mk@9fa87f9882ba
make/gcc.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 1065
-
6eb7b54975ee
- permissions
- -rw-r--r--
fix build on Solaris 10 and other platforms, where ferror is a just a macro
#
# 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