uclibc: disable posix_madvise for noMMU
authorWaldemar Brodkorb <wbx@openadk.org>
Tue, 29 Nov 2016 05:39:52 +0000 (06:39 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 30 Nov 2016 15:14:47 +0000 (16:14 +0100)
commit0689e77eecb88dc204688e9db670d56e4366f83f
tree0f3ca1e6e0618cc9686c51317332082be76c6f66
parentbf5487e21e539e474062ee3ace1ac8fb844e38a2
uclibc: disable posix_madvise for noMMU

Now that the madvise defines are disabled for noMMU targets,
architectures with MMU and noMMU support as ARM are failing to compile
in noMMU mode, since the defines are used internally in posix_madvise.c.

Disable compilation for posix_madvise() for noMMU.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/uclibc/0003-posix_madvise-not-available-for-noMMU.patch [new file with mode: 0644]