summaryrefslogtreecommitdiff
path: root/package/libcap/patches/patch-libcap_Makefile
diff options
context:
space:
mode:
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..034353ad5
--- /dev/null
+++ b/package/libcap/patches/patch-libcap_Makefile
@@ -0,0 +1,11 @@
+--- libcap-2.22.orig/libcap/Makefile 2010-08-09 00:26:04.000000000 +0200
++++ libcap-2.22/libcap/Makefile 2013-10-28 10:46:10.000000000 +0100
+@@ -33,7 +33,7 @@ INCLUDE_GPERF_OUTPUT = -include $(GPERF_
+ endif
+
+ _makenames: _makenames.c cap_names.list.h
+- $(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $< -o $@
+
+ cap_names.h: _makenames
+ ./_makenames > cap_names.h