Skip to content

Commit

Permalink
fix prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcarroty authored Mar 30, 2024
1 parent ba69740 commit 50eb2be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mpv-cuda.spec
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export CFLAGS="$CFLAGS -O3 -Ofast -falign-functions=32 -ffat-lto-objects -flto=a
export FCFLAGS="$FFLAGS -O3 -Ofast -falign-functions=32 -ffat-lto-objects -flto=auto -fno-semantic-interposition -mno-vzeroupper -mprefer-vector-width=256 "
export FFLAGS="$FFLAGS -O3 -Ofast -falign-functions=32 -ffat-lto-objects -flto=auto -fno-semantic-interposition -mno-vzeroupper -mprefer-vector-width=256 "
export CXXFLAGS="$CXXFLAGS -O3 -Ofast -falign-functions=32 -ffat-lto-objects -flto=auto -fno-semantic-interposition -mno-vzeroupper -mprefer-vector-width=256 "
meson --libdir=lib64 --prefix=/usr --buildtype=plain \
meson --libdir=lib64 --prefix=/usr/local-cuda --buildtype=plain \
-Dalsa=enabled \
-Dbuild-date=false \
-Dcaca=disabled \
Expand Down Expand Up @@ -231,7 +231,9 @@ ninja -v -C builddir

%install
DESTDIR=%{buildroot} ninja -C builddir install
rm -rvf %{buildroot}/usr/share/doc
rm -rvf %{buildroot}/usr/*/share/doc
mv %{buildroot}/usr/local-cuda %{buildroot}/usr/local



%files
Expand Down

0 comments on commit 50eb2be

Please sign in to comment.