[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help with bug #143585 - hppa needs -ffunction-sections



On Tue, Apr 23, 2002 at 11:20:02AM -0400, Dale E Martin wrote:
> How do I put an arch-specific build flag into a source package?  I've
> googled a bit, and grepped policy, but I'm not finding the answer.  Also,
> does anyone know if this is really an hppa issue, or is it a more general
> g++ 3.0 issue?

> Thanks!
> 	Dale


DEB_HOST_GNU_TYPE     := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)

make-target:
	if [ $(DEB_HOST_GNU_TYPE) = "hppa-linux" ]; then \
		$(MAKE) CFLAGS="-fflag"; \
	else \
		$(MAKE); \
	fi

Attachment: pgpl4ehvituP0.pgp
Description: PGP signature


Reply to: