[Pachi] Small patch to make the Makefile more distrib friendly

Petr Baudis pasky at ucw.cz
Mon Dec 16 14:40:30 CET 2013


On Mon, Dec 16, 2013 at 09:26:34AM +0100, Stanisław Halik wrote:
> How about "SYS_LDFLAGS?=-lfoo -lfoo2 -lfoo3?"? It's a custom var name, and as 
> such, build systems shouldn't override it. Mind the question mark before 
> equals sign. Then it can be overriden by ANDROID.txt, without any custom 
> CFLAGS, easing building on FreeBSD and OSX too, which don't have librt either, 
> which is Linux-GNU-libc-specific.

This seems like a reasonable idea; I have now tried to implement this,
can you please test if Android build and portage build both work now?

-- 
				Petr "Pasky" Baudis
	Sick and yet happy, in peril and yet happy, dying and yet happy,
	in exile and happy, in disgrace and happy.  -- Epictetus


More information about the Pachi mailing list