Multi-platform docker build

This commit is contained in:
cpq committed 2022-08-09 13:02:50 +01:00
1 parent 9393e271de
commit 9cfaee9b21
1 file changed
+2 -2
+2 -2
View File
@@ -9,8 +9,8 @@ INCS ?= -Isrc -I.
SSL ?= MBEDTLS SSL ?= MBEDTLS
CWD ?= $(realpath $(CURDIR)) CWD ?= $(realpath $(CURDIR))
ENV ?= -e Tmp=. -e WINEDEBUG=-all ENV ?= -e Tmp=. -e WINEDEBUG=-all
DOCKERCMD ?= docker run --platform=amd64 DOCKERCMD ?= docker
DOCKER ?= $(DOCKERCMD) --rm $(ENV) -v $(CWD):$(CWD) -w $(CWD) DOCKER ?= $(DOCKERCMD) run --rm $(ENV) -v $(CWD):$(CWD) -w $(CWD)
VCFLAGS = /nologo /W3 /O2 /MD /I. $(DEFS) $(TFLAGS) VCFLAGS = /nologo /W3 /O2 /MD /I. $(DEFS) $(TFLAGS)
IPV6 ?= 1 IPV6 ?= 1
ASAN ?= -fsanitize=address,undefined -fno-sanitize-recover=all ASAN ?= -fsanitize=address,undefined -fno-sanitize-recover=all