libipc/makefile.target

14 lines
363 B
SYSTEMD

# 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