diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/dropwatch/files/dropwatch-1.4-makefile.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/dropwatch/files/dropwatch-1.4-makefile.patch')
-rw-r--r-- | dev-util/dropwatch/files/dropwatch-1.4-makefile.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-util/dropwatch/files/dropwatch-1.4-makefile.patch b/dev-util/dropwatch/files/dropwatch-1.4-makefile.patch new file mode 100644 index 000000000000..14ffcc83513e --- /dev/null +++ b/dev-util/dropwatch/files/dropwatch-1.4-makefile.patch @@ -0,0 +1,21 @@ +--- src/Makefile.orig 2012-10-24 13:27:12.000000000 +0400 ++++ src/Makefile 2012-10-24 13:27:47.000000000 +0400 +@@ -1,14 +1,14 @@ + all: dropwatch +-CFLAGS+=-c -g -D_GNU_SOURCE -Wall -Werror `pkg-config --cflags libnl-3.0` +-LDFLAGS=-lbfd -lreadline -lnl-3 -lnl-genl-3 ++CFLAGS+=-c -D_GNU_SOURCE -Wall `pkg-config --cflags libnl-3.0` ++LIBS=-lbfd -lreadline -lnl-3 -lnl-genl-3 + OBJFILES := main.o lookup.o\ + lookup_bfd.o lookup_kas.o + + dropwatch: $(OBJFILES) +- gcc -g -o dropwatch $(OBJFILES) $(LDFLAGS) ++ $(CC) -o dropwatch $(LDFLAGS) $(OBJFILES) $(LIBS) + + %.o: %.c +- gcc $(CFLAGS) $< ++ $(CC) $(CFLAGS) $< + clean: + rm -f dropwatch *.o + |