blob: e167c1df145237f8bfeb156d698bd295e3322784 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- xmlada-2016-src/Makefile.in.old 2016-12-04 21:58:57.251338692 +0100
+++ xmlada-2016-src/Makefile.in 2016-12-04 21:59:31.332755615 +0100
@@ -7,7 +7,7 @@
PACKAGE_TARNAME=@PACKAGE_TARNAME@
VERSION=@PACKAGE_VERSION@
BUILDS_SHARED=@GNAT_BUILDS_SHARED@
-prefix=@prefix@
+prefix=$(DESTDIR)@prefix@
# Set a default value (ignored if set in the environment)
PROCESSORS?=0
@@ -49,13 +49,13 @@
endif
static:
- ${GPRBUILD} -p -XLIBRARY_TYPE=static ${GPROPTS} xmlada.gpr
+ ${GPRBUILD} -p -XLIBRARY_TYPE=static ${GPROPTS} xmlada.gpr -cargs $(ADAFLAGS)
shared relocatable:
- ${GPRBUILD} -p -XLIBRARY_TYPE=relocatable ${GPROPTS} xmlada.gpr
+ ${GPRBUILD} -p -XLIBRARY_TYPE=relocatable ${GPROPTS} xmlada.gpr -cargs $(ADAFLAGS)
static-pic:
- ${GPRBUILD} -p -XLIBRARY_TYPE=static-pic ${GPROPTS} xmlada.gpr
+ ${GPRBUILD} -p -XLIBRARY_TYPE=static-pic ${GPROPTS} xmlada.gpr -cargs $(ADAFLAGS)
# Rebuild the tests (and not the XML/Ada code itself)
test: force
--- xmlada-gpl-2016-src/shared.gpr.in.old 2017-03-26 21:48:46.613541125 +0200
+++ xmlada-gpl-2016-src/shared.gpr.in 2017-03-26 21:49:32.713754025 +0200
@@ -76,6 +76,7 @@
when "profile" =>
for Switches ("Ada") use warnings & ("-g", "-pg");
end case;
+ for Driver ("Ada") use External ("ADA", "gcc");
end compiler;
package binder is
|