Browse Source

gddrescue: Do not build with uClibc-ng

From the developer:

It seems that uClibc-ng is defining fgetc, fputc, feof, and ferror as
macros and not including them in std.

IMO this is a bug in uClibc-ng (maybe caused by lack of clarity in the
C++ standard), because even the C functions that are alowed to be
defined as macros (putc, getc) should be included in std for
consistency. Just imagine the chaos if std::getc were defined or
undefined depending on how it is implemented.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
9172e2828f
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/gddrescue/Makefile

+ 1
- 1
utils/gddrescue/Makefile View File

@ -27,7 +27,7 @@ define Package/gddrescue
CATEGORY:=Utilities
TITLE:=Data recovery tool
URL:=https://www.gnu.org/software/ddrescue/
DEPENDS:=$(CXX_DEPENDS)
DEPENDS:=$(CXX_DEPENDS) @!USE_UCLIBC
endef
define Package/gddrescue/description


Loading…
Cancel
Save