diff options
author | Tor Egge <Tor.Egge@online.no> | 2022-09-28 10:35:52 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2022-09-28 10:35:52 +0200 |
commit | a441174b63c8accae793f1d455477d185a860bdb (patch) | |
tree | 3a4ab534bbd7b4837919c3ffd389557433af6885 /dist | |
parent | b55f60aea7973714936bba07ad7eeeb944863a10 (diff) |
Disable patch when _vespa_llvm_version is not defined.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/vespa.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec index b3edb0b7197..8953efb82f8 100644 --- a/dist/vespa.spec +++ b/dist/vespa.spec @@ -492,7 +492,7 @@ nearest neighbor search used for low-level benchmarking. %endif %else %setup -q -%if 0%{?el8} && %{_vespa_llvm_version} < 13 +%if 0%{?el8} && %{?_vespa_llvm_version}%{!?_vespa_llvm_version:13} < 13 if grep -qs 'result_pair<R>(' /usr/include/llvm/ADT/STLExtras.h then patch /usr/include/llvm/ADT/STLExtras.h < dist/STLExtras.h.diff |