Files
core_make/tjp/Make/Makefile.base.linux
Timothy Prepscius 46185db8f0 flatten 20260225
2026-02-25 12:34:54 -05:00

39 lines
870 B
Makefile
Executable File

###################################
# License: Modified MIT (NON-AI)
# Copyright 2025 Timothy Prepscius
# See the LICENSE file in the root directory for license information.
###################################
ifeq (Linux,$(SYS_NAME))
# Somehow on linux dockers, under colima, dependencies
# cause problems -
# USE_DEPENDENCIES := 0
GCCC := gcc
AR := ar
CC := ${GCCC}
CPP := ${GCCC}
MM := ${GCCC}
M := ${GCCC}
LINK := ${GCCC}
_FLAGS += \
-DSYS_LINUX \
-DSYS_X86 \
-ldl -lm -lstdc++ -pthread \
-Wno-stringop-overflow \
-Wno-stringop-overread \
-fno-omit-frame-pointer
# not needed with newer boost
# -DBOOST_NO_CXX98_FUNCTION_BASE=1
# -Wno-changes-meaning does not work
LDFLAGS += -L /usr/local/lib
PLATFORM_LIBS := -ldl -lm -lstdc++ -pthread
endif