Force --with-libclang-path also in c9s
Related: RHEL-16513
This commit is contained in:
parent
f972d68152
commit
416ecfb54d
@ -1020,8 +1020,8 @@ echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc
|
|||||||
echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig
|
echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig
|
||||||
|
|
||||||
# May result in empty --with-libclang-path= in earlier versions.
|
# May result in empty --with-libclang-path= in earlier versions.
|
||||||
# So far this is needed only for c8s.
|
# So far this is needed only for c8s/c9s.
|
||||||
%if 0%{?rhel} == 8 && %{rhel_minor_version} >= 10
|
%if (0%{?rhel} == 8 && %{rhel_minor_version} >= 10) || (0%{?rhel} == 9 && %{rhel_minor_version} >= 4)
|
||||||
# Clang 17 upstream's detection fails, tell it where to look.
|
# Clang 17 upstream's detection fails, tell it where to look.
|
||||||
echo "ac_add_options --with-libclang-path=`llvm-config --libdir`" >> .mozconfig
|
echo "ac_add_options --with-libclang-path=`llvm-config --libdir`" >> .mozconfig
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user