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: msg06032/pgp00000.pgp
Description: PGP signature

Reply via email to