updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / makedumpfile / makedumpfile-static-elfutils.diff
blob7298dc60e114040007104be7dbc0dc2ead6f120f
1 ---
2 Makefile | 5 ++++-
3 1 file changed, 4 insertions(+), 1 deletion(-)
5 --- a/Makefile
6 +++ b/Makefile
7 @@ -22,6 +22,9 @@ CFLAGS += -m64
8 CFLAGS_ARCH += -m64
9 endif
11 +CFLAGS += -Iinstalled/usr/include
12 +CFLAGS_ARCH += -Iinstalled/usr/include
14 SRC = makedumpfile.c makedumpfile.h diskdump_mod.h
15 SRC_ARCH = x86.c x86_64.c ia64.c ppc64.c
16 OBJ_ARCH = x86.o x86_64.o ia64.o ppc64.o
17 @@ -32,7 +35,7 @@ $(OBJ_ARCH): $(SRC_ARCH)
18 $(CC) $(CFLAGS_ARCH) -c -o ./$@ ./$(@:.o=.c)
20 makedumpfile: $(SRC) $(OBJ_ARCH)
21 - $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -static -ldw -lelf -lz
22 + $(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -static -Linstalled/usr/lib -ldw -lelf -lz
23 gzip -c ./makedumpfile.8 > ./makedumpfile.8.gz
25 clean: