The unifdef package contains a utility that is useful for removing preprocessor conditionals from code.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://dotat.at/prog/unifdef/unifdef-2.12.tar.gz
MD5 校验和:b225312c110cd2600ca7166bd0419751
大小:88 KB
预计所需磁盘空间:1.9 MB
预计构建时间:小于 0.1 SBU
First, fix a problem when building with gcc-15:
sed -i 's/constexpr/unifdef_&/g' unifdef.c
Now fix a problem if reinstalling the package:
sed -i 's/ln -s/ln -sf/' Makefile
Install unifdef by running the following commands:
make
To test the results, issue: LC_ALL=C make test.
Finally, finish the installation as the root user:
make prefix=/usr install