This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/libcap/patches/00-makenames-host-cc.patch

13 lines
395 B
Diff

diff -Nru libcap-2.24.rasm/libcap/Makefile libcap-2.24/libcap/Makefile
--- libcap-2.24.rasm/libcap/Makefile 2014-01-06 00:55:03.000000000 +0000
+++ libcap-2.24/libcap/Makefile 2015-09-28 15:42:42.298857032 +0100
@@ -43,7 +43,7 @@
$< >$@
_makenames: _makenames.c cap_names.list.h
- $(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
+ gcc $< -o $@
cap_names.h: _makenames
./_makenames > cap_names.h