On 2/17/19 10:54 PM, Bruce Dubbs via blfs-dev wrote:
On 2/17/19 3:15 PM, Ken Moffat via blfs-dev wrote:
The intel xorg driver has a sed for i686. I assume that people who
use jhalfs will apply it even on x86_64. Is that a problem ?
<para>
If you are building on i686, apply a sed to fix a type
mismatch.
</para>
<screen><userinput remap="pre">sed -i "s/#define force_inline inline
__attribute__((always_inline))/#define force_inline inline/"
src/sna/compiler.h</userinput></screen>
I don't have that in my script so I don't know for sure.
I guess we need to make that
case $(uname -m) in
x86_64) sed '...' src/sna/compiler.h ;;
esac
But we can shorten up the pattern a lot.
-r '/ inline/s/( inline).*$/\1/'
I've blindly applied the sed on x86_64, and there is no adverse effect
(I'm building on bare metal for tagging, with Intel embedded graphics)
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page