summaryrefslogtreecommitdiff
path: root/package/libcap/patches/patch-libcap_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-10-14 14:19:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-10-22 19:40:14 +0200
commitfda33fed0bc594f3e3f3201876edee9d9b3d1b80 (patch)
treed2adf359f6fd8e6bd46018e0dcba5c4317d0e0d7 /package/libcap/patches/patch-libcap_Makefile
parent6284f05d016da4964e7a962783177a98eabc9064 (diff)
libcap: update to latest
Diffstat (limited to 'package/libcap/patches/patch-libcap_Makefile')
-rw-r--r--package/libcap/patches/patch-libcap_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libcap/patches/patch-libcap_Makefile b/package/libcap/patches/patch-libcap_Makefile
new file mode 100644
index 000000000..6dcb3e073
--- /dev/null
+++ b/package/libcap/patches/patch-libcap_Makefile
@@ -0,0 +1,11 @@
+--- libcap-2.59.orig/libcap/Makefile 2021-09-18 05:56:21.000000000 +0200
++++ libcap-2.59/libcap/Makefile 2021-10-12 14:20:14.254434411 +0200
+@@ -76,7 +76,7 @@ $(PSXTITLE).pc: $(PSXTITLE).pc.in
+ $< >$@
+
+ _makenames: _makenames.c cap_names.list.h
+- $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@
++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $< -o $@
+
+ cap_names.h: _makenames
+ ./_makenames > cap_names.h