Randy McMurchy wrote:
> Lauri Kasanen wrote these words on 07/19/07 05:09 CST:
> 
>> Why don't you just remove -ffriend-injection from the Makefiles?
>> This command does that: 
>> find . -name Makefile -exec sed -i 's;-ffriend-injection;;g' '{}' \;
> 
> I would think twice about doing this. You really shouldn't be seeing
> this problem. I've compiled the JDK many times using an LFS platform
> similar to the OP's, and I've never needed to make this modification.
> 
> I'm not familiar with the problem, so I can't offer any advice.
> Perhaps DJ will jump in with the answer. :-)
> 

It should work. IIUC, the OP has gcc-4.0.x.  -ffriend-injection ws added
by Bernard and handles the stricter syntax requirments of gcc-4.1+.
Actually it's only in the one file though, the find is unnecessary.

hotspot/build/linux/makefiles/vm.make

-- DJ Lucas

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to