Quoting Loïc Minier <l...@dooz.org>:

> Is this only needed when cross-building or should the ncurses build
> always set -D_GNU_SOURCE when building make_hash & make_keys?  What's
> the error you get otherwise?

It's needed for cross-building because the configure script can only
do checks for one compile-environment, and the source you're building
with includes headers that rely on the extra checks.  When not cross
compiling, those are built using the flags used for the target.

I simplified that last month in this change, making the extra
flags unneeded:

20100522
        + simplify include-dependencies of make_hash and make_keys, to reduce
          the need for setting BUILD_CPPFLAGS in cross-compiling when the
          build- and target-machines differ.

-- 
Cross build needs rpath with xdeb
https://bugs.launchpad.net/bugs/598389
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to