/[vps]/dietlibc/patches/0.30_pre20060621-r0/01_all_nostrip.patch
Gentoo

Contents of /dietlibc/patches/0.30_pre20060621-r0/01_all_nostrip.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 388 - (show annotations) (download)
Thu Jun 22 07:17:16 2006 UTC (8 years, 6 months ago) by hollow
File size: 2779 byte(s)
new cvs snapshot patches
1 --- dietlibc/Makefile.orig 2006-06-21 21:18:13.000000000 +0200
2 +++ dietlibc/Makefile 2006-06-21 21:35:15.252354000 +0200
3 @@ -161,7 +161,6 @@
4
5 $(OBJDIR)/%.o: %.c
6 tcc -I. -Iinclude -c $< -o $@
7 - $(COMMENT) -$(CROSS)strip -x -R .comment -R .note $@
8 else
9 $(OBJDIR)/pstart.o: start.S
10 $(CROSS)$(CC) $(INC) $(CFLAGS) -DPROFILING -c $< -o $@
11 @@ -171,11 +170,9 @@
12
13 $(OBJDIR)/pthread_%.o: libpthread/pthread_%.c
14 $(CROSS)$(CC) $(INC) $(CFLAGS) -c $< -o $@
15 - $(COMMENT) -$(CROSS)strip -x -R .comment -R .note $@
16
17 $(OBJDIR)/%.o: %.c
18 $(CROSS)$(CC) $(INC) $(CFLAGS) -c $< -o $@ -D__dietlibc__
19 - $(COMMENT) -$(CROSS)strip -x -R .comment -R .note $@
20 endif
21
22 ifeq ($(shell $(CC) -v 2>&1 | grep "gcc version"),gcc version 4.0.0)
23 @@ -246,18 +243,15 @@
24
25 $(PICODIR)/pthread_%.o: libpthread/pthread_%.c
26 $(CROSS)$(CC) $(INC) $(CFLAGS) -fPIC -D__DYN_LIB -c $< -o $@
27 - $(COMMENT) $(CROSS)strip -x -R .comment -R .note $@
28
29 $(PICODIR)/%.o: %.c
30 $(CROSS)$(CC) $(INC) $(CFLAGS) -fPIC -D__DYN_LIB -c $< -o $@
31 - $(COMMENT) $(CROSS)strip -x -R .comment -R .note $@
32
33 $(PICODIR)/dstart.o: start.S
34 $(CROSS)$(CC) $(INC) $(CFLAGS) -fPIC -D__DYN_LIB -c $< -o $@
35
36 $(PICODIR)/dyn_so_start.o: dyn_start.c
37 $(CROSS)$(CC) $(INC) $(CFLAGS) -fPIC -D__DYN_LIB -D__DYN_LIB_SHARED -c $< -o $@
38 - $(COMMENT) $(CROSS)strip -x -R .comment -R .note $@
39
40 DYN_LIBC_PIC = $(LIBOBJ) $(LIBSTDIOOBJ) $(LIBUGLYOBJ) \
41 $(LIBCRUFTOBJ) $(LIBCRYPTOBJ) $(LIBSHELLOBJ) $(LIBREGEXOBJ)
42 @@ -306,19 +300,15 @@
43
44 $(OBJDIR)/diet: $(OBJDIR)/start.o $(OBJDIR)/dyn_start.o diet.c $(OBJDIR)/dietlibc.a $(OBJDIR)/dyn_stop.o
45 $(CROSS)$(CC) -isystem include $(CFLAGS) -nostdlib -o $@ $^ -DDIETHOME=\"$(HOME)\" -DVERSION=\"$(VERSION)\" -lgcc
46 - $(CROSS)strip -R .comment -R .note $@
47
48 $(OBJDIR)/diet-i: $(OBJDIR)/start.o $(OBJDIR)/dyn_start.o diet.c $(OBJDIR)/dietlibc.a $(OBJDIR)/dyn_stop.o
49 $(CROSS)$(CC) -isystem include $(CFLAGS) -nostdlib -o $@ $^ -DDIETHOME=\"$(prefix)\" -DVERSION=\"$(VERSION)\" -DINSTALLVERSION -lgcc
50 - $(CROSS)strip -R .comment -R .note $@
51
52 $(PICODIR)/diet-dyn: $(PICODIR)/start.o $(PICODIR)/dyn_start.o diet.c
53 $(LD_UNSET) $(CROSS)$(CC) -isystem include $(CFLAGS) -fPIC -nostdlib -o $@ $^ -DDIETHOME=\"$(HOME)\" -D__DYN_LIB -DVERSION=\"$(VERSION)\" -L$(PICODIR) -lc -lgcc $(PICODIR)/dyn_stop.o -Wl,-dynamic-linker=$(HOME)/$(PICODIR)/libdl.so
54 - $(CROSS)strip -R .command -R .note $@
55
56 $(PICODIR)/diet-dyn-i: $(PICODIR)/start.o $(PICODIR)/dyn_start.o diet.c
57 $(LD_UNSET) $(CROSS)$(CC) -isystem include $(CFLAGS) -fPIC -nostdlib -o $@ $^ -DDIETHOME=\"$(prefix)\" -D__DYN_LIB -DVERSION=\"$(VERSION)\" -L$(PICODIR) -lc -lgcc $(PICODIR)/dyn_stop.o -Wl,-dynamic-linker=$(ILIBDIR)/libdl.so -DINSTALLVERSION
58 - $(CROSS)strip -R .command -R .note $@
59
60 $(OBJDIR)/djb: $(OBJDIR)/compile $(OBJDIR)/load
61

  ViewVC Help
Powered by ViewVC 1.1.20