libipc/makefile.target

14 lines
363 B
SYSTEMD
Raw Normal View History

2024-03-21 13:02:02 +01:00
# This makefile include specific target options.
TARGET ?=
ifneq ($(TARGET),)
TARGET_OPTION=-Dtarget=$(TARGET)
endif
# In case the target is openbsd, and since the OpenBSD libc doesn't include a few system calls
# used in any other zig compilation mode, we are forced to compile in ReleaseSmall.
ifeq ($(TARGET),x86_64-openbsd)
ZIGOPTIM = ReleaseSmall
endif