summaryrefslogtreecommitdiff
path: root/tests/format/option-overrides/project.conf
blob: c8058f0761dd5bf1c975589b9f4e406470d22c0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Test case ensuring that we can use options
# in the element overrides.
#
name: test

options:
  arch:
    type: arch
    description: architecture
    values: [i686, x86_64]

elements:
  autotools:
    variables:
      (?):
      - arch == 'i686':
          conf-global: --host=i686-unknown-linux-gnu
      - arch == 'x86_64':
          conf-global: --host=x86_64-unknown-linux-gnu