Force --with-libclang-path only in c8s for now
Related: RHEL-16522
This commit is contained in:
parent
3d52bc29a2
commit
dd03fc80be
@ -1019,8 +1019,12 @@ echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozco
|
|||||||
echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc-api-key" >> .mozconfig
|
echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc-api-key" >> .mozconfig
|
||||||
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.
|
||||||
|
# So far this is needed only for c8s.
|
||||||
|
%if 0%{?rhel} == 8 && %{rhel_minor_version} >= 10
|
||||||
# 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
|
||||||
|
|
||||||
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
|
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user