Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
buildsupport
Commits
d1713b94
Commit
d1713b94
authored
Jul 21, 2017
by
Maxime Perrotin
Browse files
Fix makefile to work also in 64 bits environments
parent
34d301b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
d1713b94
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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment