summaryrefslogtreecommitdiff
path: root/package/libcap/patches/patch-libcap_Makefile
blob: 034353ad5fbda89acb43745f39c32b01c31c205f (plain)
1
2
3
4
5
6
7
8
9
10
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