summaryrefslogtreecommitdiff
path: root/package/libcap/patches/patch-libcap_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-28 15:00:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-28 15:00:30 +0100
commitb0e929f4d5c41f8c5b1054895327a718ec83f7a6 (patch)
treea68cab05c6900d3ce8d870b4161afd1048c05e85 /package/libcap/patches/patch-libcap_Makefile
parent239dbd4db397e2e6eb3df7f03b7cb87fbbb629c8 (diff)
add new package libcap
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