Fix path to libc++ headers

This commit is contained in:
Andrey Bondrov 2020-03-30 08:24:09 +10:00
parent a294d324ce
commit 235b2b6468

View file

@ -2963,7 +2963,7 @@ export CCACHE_DIR=%{ccachedir}
%if %{with clang}
%global optflags $(echo %{optflags} | sed -e 's/-fvar-tracking-assignments//g' -e 's/-frecord-gcc-switches//g' -e 's/-ffat-lto-objects//g')
%global optflags %{optflags} -stdlib=libc++ -nostdinc++ -I/include/c++/v1
%global optflags %{optflags} -stdlib=libc++ -nostdinc++ -I/usr/include/c++/v1
%global ldflags %{ldflags} -stdlib=libc++ -nostdinc++ -lc++ -lc++abi
%clang_gcc_wrapper
export CPP=""