Revert "libkrb5: fix build on riscv"
This reverts commit e86af4c396
, which is
no longer needed now that the RISC-V gcc has been patched to define
_REENTRANT when -pthread is passed.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
3e2fc295ca
commit
37751a97d9
@ -52,14 +52,7 @@ else
|
||||
LIBKRB5_CONF_OPTS += --without-readline
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
# gcc on riscv doesn't define _REENTRANT when -pthread is passed while
|
||||
# it should. Compensate this deficiency here otherwise libkrb5 configure
|
||||
# script doesn't find that thread support is enabled.
|
||||
ifeq ($(BR2_riscv),y)
|
||||
LIBKRB5_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_REENTRANT"
|
||||
endif
|
||||
else
|
||||
ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBKRB5_CONF_OPTS += --disable-thread-support
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user