1
0
forked from ports/opt

ffmpeg: set compilerflags for lto

This commit is contained in:
Tim Biermann 2024-04-07 21:15:41 +02:00
parent 7a59687733
commit 7a7784a309
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/UkPVvvcmyNdRM1sOzkmA5oV3ZIw+afxdpvUlnPU4aJ5IZPPPu5bQ/ffEBu5zeD2tWxqQQGW/aVFljSI6ADpkAM=
SHA256 (Pkgfile) = 61f9356cb9b59df6c14a5aed9ac703789c985c0d8167981c2e7fb4229c41b6e0
RWSE3ohX2g5d/RJz1+mTG5p7rjW16wOUzRnBeajZ6qy8xFhrqJ6jDOrOoSzYZL662Jg3n1iIW9gCMfTw1PIn7F8aHWRe5at0yQ8=
SHA256 (Pkgfile) = 6ca83ca426394c3fb489205ec43c9160a7feee021df4f619d8f2f5f6654fd437
SHA256 (.footprint) = b1e690d6bd3ac029cdf1c7a618e537405ea5e75ba964249d118f26d9a4d7abca
SHA256 (ffmpeg-6.1.1.tar.bz2) = 5e3133939a61ef64ac9b47ffd29a5ea6e337a4023ef0ad972094b4da844e3a20
SHA256 (add-av_stream_get_first_dts-for-chromium.patch) = 57e26caced5a1382cb639235f9555fc50e45e7bf8333f7c9ae3d49b3241d3f77

View File

@ -6,7 +6,7 @@
name=ffmpeg
version=6.1.1
release=2
release=3
source=(https://ffmpeg.org/releases/$name-$version.tar.bz2
add-av_stream_get_first_dts-for-chromium.patch
fef22c87ada4517441701e6e61e062c9f4399c8e.patch
@ -76,6 +76,9 @@ build() {
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} \
--prefix=/usr \
--optflags="$CFLAGS" \