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

Re: Multiple-Architecture Sources

>>>>> "Michael" == Michael Alan Dorman <mdorman-debian.devel@debian.org> writes:
>>>>> "Brent" == Brent Fulgham <bfulgham@xpsystems.com> writes:

    Brent> I could add logic to uncomment this line automatically, but
    Brent> am not sure what the best way of identifiying the intended
    Brent> build target -- would a call to `uname` be sufficient?

    Michael> I usually use identify the architecture with the make
    Michael> snippet:

    Michael> ARCH=$(shell dpkg --print-architecture)

That would be a bug, since 'dpkg --print-architecture' depends on
'gcc' to work.  Use 'dpkg --print-installation-architecture' instead.

(Been there, done that...)


Reply to: