summaryrefslogtreecommitdiff
path: root/sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch')
-rw-r--r--sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch b/sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch
new file mode 100644
index 000000000000..c1b0b56f2a11
--- /dev/null
+++ b/sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch
@@ -0,0 +1,12 @@
+Respect CPPFLAGS, LDFLAGS
+--- a/Makefile
++++ b/Makefile
+@@ -15,7 +15,7 @@ LDFLAGS=
+ all: grepcidr
+
+ grepcidr: grepcidr.o
+- $(CC) $(CFLAGS) grepcidr.o -o grepcidr
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) grepcidr.o -o grepcidr
+
+ doc: grepcidr.1
+