Commit f4c42589 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix Makefile to support 64 bits targets

parent 3f69b3a2
......@@ -31,8 +31,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 aadl_parser.gpr -XBUILD="debug"
$(gnatpath)gprbuild -x -g $(exec) -p -P aadl_parser.gpr -XBUILD="debug" $$EXTRAFLAG
install:
$(MAKE)
......
package Parser_Version is
Parser_Release : constant String :=
"2fb09fe ; Commit Date: Tue Jul 18 12:13:11 2017 ";
"3f69b3a ; Commit Date: Tue Jul 18 12:17:45 2017 ";
Ocarina_Version : constant String :=
"Ocarina 2017.x (Working Copy from r0338d89)";
"Ocarina 2017.x (Working Copy from r2c2360e)";
end Parser_Version;
\ No newline at end of file
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