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:
parent
aca23594ad
commit
88855ec568
4 changed files with 18 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue