summaryrefslogtreecommitdiff
path: root/package/libcap/patches/patch-libcap_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-08 16:32:10 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-08 16:32:10 +0100
commitc82dab24ed58a919a52fa121e064c6125ceb803a (patch)
tree332589941f88c998e0830b21de28868835834883 /package/libcap/patches/patch-libcap_Makefile
parent7082351401b76e6ae4638333a15a3b844ad87985 (diff)
fix cross-compile on Darwin
Diffstat (limited to 'package/libcap/patches/patch-libcap_Makefile')
-rw-r--r--package/libcap/patches/patch-libcap_Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libcap/patches/patch-libcap_Makefile b/package/libcap/patches/patch-libcap_Makefile
index 034353ad5..f45b642c9 100644
--- a/package/libcap/patches/patch-libcap_Makefile
+++ b/package/libcap/patches/patch-libcap_Makefile
@@ -5,7 +5,7 @@
_makenames: _makenames.c cap_names.list.h
- $(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
-+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $< -o $@
++ $(CC_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) $< -o $@
cap_names.h: _makenames
./_makenames > cap_names.h