From ab50c7710de7c2f3e40de5cde6ec4e609b888c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Thu, 23 Jan 2020 11:37:00 +0100 Subject: [PATCH] make the sources volume mount SELinux friendly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dan HorĂ¡k --- Makefile | 2 +- Makefile.synth | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b55b786..a1658d4 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ CFLAGS=-O2 -Wall # # Uncomment these lines to build with Docker/podman #PWD = $(shell pwd) -#DOCKERARGS = run --rm -v $(PWD):/src -w /src +#DOCKERARGS = run --rm -v $(PWD):/src:z -w /src #GHDL = $(DOCKER) $(DOCKERARGS) ghdl/ghdl:buster-llvm-7 ghdl #CC = $(DOCKER) $(DOCKERARGS) ghdl/ghdl:buster-llvm-7 gcc diff --git a/Makefile.synth b/Makefile.synth index ee6017a..07217e4 100644 --- a/Makefile.synth +++ b/Makefile.synth @@ -10,7 +10,7 @@ DOCKER=docker #DOCKER=podman # PWD = $(shell pwd) -DOCKERARGS = run --rm -v $(PWD):/src -w /src +DOCKERARGS = run --rm -v $(PWD):/src:z -w /src # GHDLSYNTH = ghdl YOSYS = $(DOCKER) $(DOCKERARGS) ghdl/synth:beta yosys