4.104.114.95
Last change
on this file since 649a64c was
649a64c,
checked in by Chris Johns <chrisj@…>, on 04/16/13 at 04:25:34
|
Add download git support.
Add support to use a git cloned repo as the source. Move the download
code out of the build module and into a separate module. Add to this
module support for git.
Update the GCC common configuration to support using a symlinked
git repo.
Add checks for all languages.
|
-
Property mode set to
100644
|
File size:
760 bytes
|
Line | |
---|
1 | # |
---|
2 | # Standard checks. |
---|
3 | # |
---|
4 | |
---|
5 | %if %{_target} == %{nil} |
---|
6 | %error No 'target' defined |
---|
7 | %endif |
---|
8 | |
---|
9 | %ifn %{defined release} |
---|
10 | %error No 'release' defined |
---|
11 | %endif |
---|
12 | |
---|
13 | # |
---|
14 | # Default to C++ on. |
---|
15 | # |
---|
16 | %ifn %{defined enable_cxx} |
---|
17 | %define enable_cxx 1 |
---|
18 | %endif |
---|
19 | |
---|
20 | # |
---|
21 | # Default to Ada off. |
---|
22 | # |
---|
23 | %ifn %{defined enable_ada} |
---|
24 | %define enable_ada 0 |
---|
25 | %endif |
---|
26 | |
---|
27 | # |
---|
28 | # Default to Go off. |
---|
29 | # |
---|
30 | %ifn %{defined enable_go} |
---|
31 | %define enable_go 0 |
---|
32 | %endif |
---|
33 | |
---|
34 | # |
---|
35 | # Default to Fortran off. |
---|
36 | # |
---|
37 | %ifn %{defined enable_fortran} |
---|
38 | %define enable_fortran 0 |
---|
39 | %endif |
---|
40 | |
---|
41 | # |
---|
42 | # Default to Java off. |
---|
43 | # |
---|
44 | %ifn %{defined enable_java} |
---|
45 | %define enable_java 0 |
---|
46 | %endif |
---|
47 | |
---|
48 | # |
---|
49 | # Default to ObjC off. |
---|
50 | # |
---|
51 | %ifn %{defined enable_objc} |
---|
52 | %define enable_objc 0 |
---|
53 | %endif |
---|
54 | |
---|
55 | # |
---|
56 | # Hack to get around the ARM EABBI mess. |
---|
57 | # |
---|
58 | %ifn %{defined enable_obsolete} |
---|
59 | %define enable_obsolete 0 |
---|
60 | %endif |
---|
Note: See
TracBrowser
for help on using the repository browser.