nixpkgs/pkgs/development/compilers/graalvm/truffle.make

17 lines
494 B
Plaintext
Raw Normal View History

2019-04-14 21:36:23 +01:00
# This Makefile is used by mx to bootstrap libffi build.
# `make MX_VERBOSE=y` will report all lines executed. The actual value doesn't
# matter as long as it's not empty.
2019-04-14 21:36:23 +01:00
QUIETLY$(MX_VERBOSE) = @
.PHONY: default
default:
sed -i "s|-print-multi-os-directory||g" ../$(SOURCES)/configure
2019-04-14 21:36:23 +01:00
$(QUIETLY) echo CONFIGURE libffi
$(QUIETLY) mkdir ../$(OUTPUT)
$(QUIETLY) cd ../$(OUTPUT) && ../$(SOURCES)/configure $(CONFIGURE_ARGS)
2019-04-14 21:36:23 +01:00
$(QUIETLY) echo MAKE libffi
$(QUIETLY) $(MAKE) -C ../$(OUTPUT)