Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 58341 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile.in.orig (-2 / +8 lines)
Lines 49-59 Link Here
49
OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
49
OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
50
       zutil.o inflate.o infback.o inftrees.o inffast.o
50
       zutil.o inflate.o infback.o inftrees.o inffast.o
51
51
52
PIC_OBJS = $(OBJS:%.o=%.lo)
53
54
OBJA =
52
OBJA =
55
# to use the asm code: make OBJA=match.o
53
# to use the asm code: make OBJA=match.o
56
54
55
PIC_OBJS = $(OBJS:%.o=%.lo) $(OBJA:%.o=%.lo)
56
57
TEST_OBJS = example.o minigzip.o
57
TEST_OBJS = example.o minigzip.o
58
58
59
all: example$(EXE) minigzip$(EXE)
59
all: example$(EXE) minigzip$(EXE)
Lines 79-84 Link Here
79
	mv _match.o match.o
79
	mv _match.o match.o
80
	rm -f _match.s
80
	rm -f _match.s
81
81
82
match.lo: match.S
83
	$(CPP) match.S > _match.s
84
	$(CC) -DPIC -fPIC -c _match.s
85
	mv _match.o match.lo
86
	rm -f _match.s
87
82
%.lo: %.c
88
%.lo: %.c
83
	$(CC) $(CFLAGS) -DPIC -fPIC -c $< -o $@
89
	$(CC) $(CFLAGS) -DPIC -fPIC -c $< -o $@
84
90

Return to bug 58341