1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 06:24:04 +00:00

ci: try to get linux cross-compilation working

This commit is contained in:
Samuel Štancl 2025-01-02 08:41:50 +01:00
parent aca23594ad
commit 88855ec568
4 changed files with 18 additions and 6 deletions

View file

@ -4,11 +4,11 @@ OUTPUT :=
ifeq ($(OS),Windows_NT)
OUTPUT = lib/noattach.dll
CCFLAGS = -shared -Wl,--exclude-libs,ALL
CCFLAGS += -shared -Wl,--exclude-libs,ALL
CC = clang
else
UNAME := $(shell uname)
CCFLAGS = -fPIC -Os -shared
CCFLAGS += -fPIC -Os -shared
ifeq ($(UNAME),Darwin)
ifeq ($(shell uname -m),arm64)
OUTPUT = lib/arm/noattach.dylib