termux-packages/packages/libcap/libcap-makefile.patch

13 lines
445 B
Diff

diff -uNr libcap-2.60/libcap/Makefile libcap-2.60.mod/libcap/Makefile
--- libcap-2.60/libcap/Makefile 2021-09-18 06:56:21.000000000 +0300
+++ libcap-2.60.mod/libcap/Makefile 2021-11-06 21:51:21.509485984 +0200
@@ -76,7 +76,7 @@
$< >$@
_makenames: _makenames.c cap_names.list.h
- $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@
+ gcc $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@
cap_names.h: _makenames
./_makenames > cap_names.h