package/libnss: re-enable package on microblaze
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Wed, 26 Jun 2019 12:58:55 +0000 (14:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 3 Aug 2019 10:57:45 +0000 (12:57 +0200)
commit2716244b340a87186a8fd6e89cd7f18197ba3cdb
tree7387ec46d48432b626eb2f100f6ddbe61ce61260
parent1aa59097e61d524bb55ab1fcd4fbe5098b3e0bed
package/libnss: re-enable package on microblaze

With Microblaze Gcc version < 8.x the build hangs due to bug 85862:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85862
To avoid this, the libnss package has a !BR2_TOOLCHAIN_HAS_GCC_BUG_85862
dependency. However, gcc bug 85862 only triggers when optimization is
enabled, so we can work around the issue by passing -O0, which is what
we do in other Buildroot packages to work around this bug.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libnss/Config.in
package/libnss/libnss.mk