Commit d1713b94 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix makefile to work also in 64 bits environments

parent 34d301b9
UNAME := $(shell uname)
CC=gcc
exec = buildsupport
......@@ -27,8 +26,9 @@ ifeq ($(UNAME), Linux)
fi ; \
fi
endif
uname -a | grep x86_64 && EXTRAFLAG="--target=x86_64-linux" ; \
ADA_PROJECT_PATH=`ocarina-config --prefix`/lib/gnat:$$ADA_PROJECT_PATH \
$(gnatpath)gprbuild -x -g $(exec) -p -P buildsupport.gpr -XBUILD="debug"
$(gnatpath)gprbuild -x -g $(exec) -p -P buildsupport.gpr -XBUILD="debug" $$EXTRAFLAG
install:
$(MAKE)
......
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