Commit c1fa01fc authored by Andreas Bombe's avatar Andreas Bombe

Force disable mcode build in debian/rules when not building for x86

parent 40360bda
......@@ -34,6 +34,11 @@ ifeq ($(filter pkg.ghdl.nollvm,$(DEB_BUILD_PROFILES)),)
WITH_LLVM := 1
endif
# force disable mcode build on non-x86 architectures where it isn't supported
ifeq ($(filter amd64 i386,$(DEB_HOST_ARCH_CPU)),)
WITH_MCODE := 0
endif
BUILDDIR := $(CURDIR)/builddir
CC := gnatgcc
export CC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment