ffmpeg: set compilerflags for lto
This commit is contained in:
parent
7a59687733
commit
7a7784a309
@ -1,6 +1,6 @@
|
|||||||
untrusted comment: verify with /etc/ports/opt.pub
|
untrusted comment: verify with /etc/ports/opt.pub
|
||||||
RWSE3ohX2g5d/UkPVvvcmyNdRM1sOzkmA5oV3ZIw+afxdpvUlnPU4aJ5IZPPPu5bQ/ffEBu5zeD2tWxqQQGW/aVFljSI6ADpkAM=
|
RWSE3ohX2g5d/RJz1+mTG5p7rjW16wOUzRnBeajZ6qy8xFhrqJ6jDOrOoSzYZL662Jg3n1iIW9gCMfTw1PIn7F8aHWRe5at0yQ8=
|
||||||
SHA256 (Pkgfile) = 61f9356cb9b59df6c14a5aed9ac703789c985c0d8167981c2e7fb4229c41b6e0
|
SHA256 (Pkgfile) = 6ca83ca426394c3fb489205ec43c9160a7feee021df4f619d8f2f5f6654fd437
|
||||||
SHA256 (.footprint) = b1e690d6bd3ac029cdf1c7a618e537405ea5e75ba964249d118f26d9a4d7abca
|
SHA256 (.footprint) = b1e690d6bd3ac029cdf1c7a618e537405ea5e75ba964249d118f26d9a4d7abca
|
||||||
SHA256 (ffmpeg-6.1.1.tar.bz2) = 5e3133939a61ef64ac9b47ffd29a5ea6e337a4023ef0ad972094b4da844e3a20
|
SHA256 (ffmpeg-6.1.1.tar.bz2) = 5e3133939a61ef64ac9b47ffd29a5ea6e337a4023ef0ad972094b4da844e3a20
|
||||||
SHA256 (add-av_stream_get_first_dts-for-chromium.patch) = 57e26caced5a1382cb639235f9555fc50e45e7bf8333f7c9ae3d49b3241d3f77
|
SHA256 (add-av_stream_get_first_dts-for-chromium.patch) = 57e26caced5a1382cb639235f9555fc50e45e7bf8333f7c9ae3d49b3241d3f77
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
name=ffmpeg
|
name=ffmpeg
|
||||||
version=6.1.1
|
version=6.1.1
|
||||||
release=2
|
release=3
|
||||||
source=(https://ffmpeg.org/releases/$name-$version.tar.bz2
|
source=(https://ffmpeg.org/releases/$name-$version.tar.bz2
|
||||||
add-av_stream_get_first_dts-for-chromium.patch
|
add-av_stream_get_first_dts-for-chromium.patch
|
||||||
fef22c87ada4517441701e6e61e062c9f4399c8e.patch
|
fef22c87ada4517441701e6e61e062c9f4399c8e.patch
|
||||||
@ -76,6 +76,9 @@ build() {
|
|||||||
|
|
||||||
sed -i -e '/check_cflags -fdiagnostics-color=auto/d' configure
|
sed -i -e '/check_cflags -fdiagnostics-color=auto/d' configure
|
||||||
|
|
||||||
|
export CFLAGS="$CFLAGS -ffat-lto-objects"
|
||||||
|
export CXXFLAGS="$CXXFLAGS -ffat-lto-objects"
|
||||||
|
|
||||||
./configure ${PKGMK_FFMPEG} \
|
./configure ${PKGMK_FFMPEG} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--optflags="$CFLAGS" \
|
--optflags="$CFLAGS" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user