Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2019 00:49:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241928] multimedia/handbrake: fix build on GCC architectures
Message-ID:  <bug-241928-7788-l5dP1Smmq0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241928-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241928-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241928

--- Comment #3 from Yuichiro NAITO <naito.yuichiro@gmail.com> ---
(In reply to Piotr Kubaj from comment #2)
>> Would you tell me what kind of architecture for your target?
>powerpc64

Thanks.
How about adding powerpc64 to ONLY_FOR_ARCHS?

I can't support all other architectures than amd64/i386.
Testing on powerpc64 is left to you.

>> I think it is necessary for amd64/i386 when HandBrake is built by gcc.
>amd64 and i386 on all supported releases use LLVM and I don't see any USE_=
GCC in the port's Makefile.

In case of CC=3Dgcc.
Some people want to compare performance between clang and gcc.

Anyway, is it useful to you that changing your patch to following?

> LDFLAGS +=3D $(if $(findstring gcc, $(GCC.gcc)), $(if $(findstring x86, $=
(GCC.archs)), $(GCC.LDFLAGS), ), )

GCC.LDFLAGS is exported if compiler is gcc and arch is x86 (includes x86_64=
).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241928-7788-l5dP1Smmq0>