mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-04 15:02:27 +00:00
ffmpeg: properly use CC/CXX. @konimex. Closes #154
This commit is contained in:
parent
0c37a83b38
commit
faed0fd710
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
|
--cc="${CC:-cc}" \
|
||||||
|
--cxx="${CXX:-c++}" \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-gpl \
|
--enable-gpl \
|
||||||
|
@ -18,8 +20,7 @@
|
||||||
--enable-libdrm \
|
--enable-libdrm \
|
||||||
--disable-debug
|
--disable-debug
|
||||||
|
|
||||||
make CC="${CC:-cc}"
|
make
|
||||||
make DESTDIR="$1" install
|
make DESTDIR="$1" install
|
||||||
|
|
||||||
# Remove examples.
|
|
||||||
rm -rf "$1/usr/share/ffmpeg/examples"
|
rm -rf "$1/usr/share/ffmpeg/examples"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user