Changeset 449 for trunk/System/Sources/libc/patches/patch-libtool.diff
- Timestamp:
- Dec 28, 2009, 3:21:23 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/System/Sources/libc/patches/patch-libtool.diff
r437 r449 1 diff -Naur libc-0.0. 3.orig/src/Makefile libc-0.0.3/src/Makefile2 --- libc-0.0. 3.orig/src/Makefile 2009-11-11 10:34:58.000000000 +01003 +++ libc-0.0. 3/src/Makefile 2009-11-16 02:07:08.000000000 +01001 diff -Naur libc-0.0.4.orig/src/Makefile libc-0.0.4/src/Makefile 2 --- libc-0.0.4.orig/src/Makefile 2009-12-20 06:56:18.000000000 +0100 3 +++ libc-0.0.4/src/Makefile 2009-12-20 08:16:00.000000000 +0100 4 4 @@ -1,5 +1,5 @@ 5 5 SUBDIRS = dl kernel/linux kernel/freebsd kernel/netbsd kernel/openbsd kernel/solaris math pthread socket … … 17 17 LN = ln -f 18 18 MKDIR = mkdir -p 19 @@ -24,14 8+25,142 @@19 @@ -24,146 +25,142 @@ 20 20 subdirs: 21 21 @for i in $(SUBDIRS); do (cd $$i && $(MAKE)) || exit; done … … 25 25 libc_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) 26 26 -libc_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `$(CC) -print-libgcc-file-name` 27 -28 27 +libc_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `$(CC) -print-libgcc-file-name` -Xcompiler -nostdlib 29 28 libc_ASFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(ASFLAGS) … … 35 34 -libc.so: $(libc_OBJS) 36 35 - $(LD) -o libc.so -Wl,-soname,libc.so.0 $(libc_OBJS) `$(CC) -print-libgcc-file-name` 37 -38 36 +libc.la: $(libc_OBJS) 39 37 + $(LIBTOOL) --mode=link $(CC) -o libc.la $(libc_OBJS) `$(CC) -print-libgcc-file-name` -Xcompiler -nostdlib -rpath $(LIBDIR) $(libc_LDFLAGS) … … 254 252 start.o: start.S kernel/freebsd/i386/start.S kernel/linux/arm/start.S kernel/linux/i386/start.S kernel/linux/sparc/start.S kernel/netbsd/amd64/start.S kernel/netbsd/i386/start.S kernel/netbsd/sparc64/start.S kernel/netbsd/sparc/start.S kernel/openbsd/arm/start.S kernel/openbsd/i386/start.S 255 253 $(AS) $(start.o_ASFLAGS) -o start.o start.S 256 @@ -18 2,19 +177,14 @@254 @@ -180,19 +177,14 @@ 257 255 install: all 258 256 @for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done … … 277 275 278 276 .PHONY: all subdirs clean distclean install uninstall 279 diff -Naur libc-0.0. 3.orig/src/dl/Makefile libc-0.0.3/src/dl/Makefile280 --- libc-0.0. 3.orig/src/dl/Makefile 2009-11-11 10:34:58.000000000 +0100281 +++ libc-0.0. 3/src/dl/Makefile 2009-11-16 02:07:08.000000000 +0100277 diff -Naur libc-0.0.4.orig/src/dl/Makefile libc-0.0.4/src/dl/Makefile 278 --- libc-0.0.4.orig/src/dl/Makefile 2009-12-20 06:56:18.000000000 +0100 279 +++ libc-0.0.4/src/dl/Makefile 2009-12-20 08:16:00.000000000 +0100 282 280 @@ -1,4 +1,4 @@ 283 281 -TARGETS = libdl.a libdl.so … … 339 337 340 338 .PHONY: all clean distclean install uninstall 341 diff -Naur libc-0.0. 3.orig/src/dl/project.conf libc-0.0.3/src/dl/project.conf342 --- libc-0.0. 3.orig/src/dl/project.conf 2009-08-06 00:54:56.000000000 +0200343 +++ libc-0.0. 3/src/dl/project.conf 2009-11-16 02:06:58.000000000 +0100344 @@ -6, 8 +6,9@@339 diff -Naur libc-0.0.4.orig/src/dl/project.conf libc-0.0.4/src/dl/project.conf 340 --- libc-0.0.4.orig/src/dl/project.conf 2009-08-06 00:54:56.000000000 +0200 341 +++ libc-0.0.4/src/dl/project.conf 2009-12-20 08:15:43.000000000 +0100 342 @@ -6,9 +6,10 @@ 345 343 dist=Makefile 346 344 … … 349 347 +type=libtool 350 348 sources=dlfcn.c 349 install=$(LIBDIR) 351 350 +ldflags=-Xcompiler -nostdlib 352 install=$(LIBDIR)353 351 354 352 [dlfcn.c] 355 diff -Naur libc-0.0.3.orig/src/math/Makefile libc-0.0.3/src/math/Makefile 356 --- libc-0.0.3.orig/src/math/Makefile 2009-11-11 10:34:58.000000000 +0100 357 +++ libc-0.0.3/src/math/Makefile 2009-11-16 02:07:08.000000000 +0100 353 depends=../../include/dl/dlfcn.h 354 diff -Naur libc-0.0.4.orig/src/math/Makefile libc-0.0.4/src/math/Makefile 355 --- libc-0.0.4.orig/src/math/Makefile 2009-12-20 06:56:18.000000000 +0100 356 +++ libc-0.0.4/src/math/Makefile 2009-12-20 08:16:00.000000000 +0100 358 357 @@ -1,5 +1,5 @@ 359 358 SUBDIRS = amd64 i386 … … 423 422 424 423 .PHONY: all subdirs clean distclean install uninstall 425 diff -Naur libc-0.0. 3.orig/src/math/project.conf libc-0.0.3/src/math/project.conf426 --- libc-0.0. 3.orig/src/math/project.conf 2009-08-06 00:54:57.000000000 +0200427 +++ libc-0.0. 3/src/math/project.conf 2009-11-16 02:07:00.000000000 +0100428 @@ -9, 8 +9,9@@424 diff -Naur libc-0.0.4.orig/src/math/project.conf libc-0.0.4/src/math/project.conf 425 --- libc-0.0.4.orig/src/math/project.conf 2009-08-06 00:54:57.000000000 +0200 426 +++ libc-0.0.4/src/math/project.conf 2009-12-20 08:15:45.000000000 +0100 427 @@ -9,9 +9,10 @@ 429 428 dist=Makefile,arch.h 430 429 … … 433 432 +type=libtool 434 433 sources=arch.S,math.c 434 install=$(LIBDIR) 435 435 +ldflags=-Xcompiler -nostdlib 436 install=$(LIBDIR)437 436 438 437 [arch.S] 439 diff -Naur libc-0.0.3.orig/src/project.conf libc-0.0.3/src/project.conf 440 --- libc-0.0.3.orig/src/project.conf 2009-11-08 20:09:37.000000000 +0100 441 +++ libc-0.0.3/src/project.conf 2009-11-16 02:05:04.000000000 +0100 438 depends=amd64/math.S,i386/math.S 439 diff -Naur libc-0.0.4.orig/src/project.conf libc-0.0.4/src/project.conf 440 --- libc-0.0.4.orig/src/project.conf 2009-11-07 05:34:48.000000000 +0100 441 +++ libc-0.0.4/src/project.conf 2009-12-20 08:15:27.000000000 +0100 442 442 @@ -9,9 +9,9 @@ 443 443 dist=Makefile,syscalls.h … … 452 452 453 453 [start.o] 454 diff -Naur libc-0.0. 3.orig/src/pthread/Makefile libc-0.0.3/src/pthread/Makefile455 --- libc-0.0. 3.orig/src/pthread/Makefile 2009-11-11 10:34:58.000000000 +0100456 +++ libc-0.0. 3/src/pthread/Makefile 2009-11-16 02:07:08.000000000 +0100454 diff -Naur libc-0.0.4.orig/src/pthread/Makefile libc-0.0.4/src/pthread/Makefile 455 --- libc-0.0.4.orig/src/pthread/Makefile 2009-12-20 06:56:18.000000000 +0100 456 +++ libc-0.0.4/src/pthread/Makefile 2009-12-20 08:16:00.000000000 +0100 457 457 @@ -1,4 +1,4 @@ 458 458 -TARGETS = libpthread.a libpthread.so … … 514 514 515 515 .PHONY: all clean distclean install uninstall 516 diff -Naur libc-0.0. 3.orig/src/pthread/project.conf libc-0.0.3/src/pthread/project.conf517 --- libc-0.0. 3.orig/src/pthread/project.conf 2009-08-06 00:54:57.000000000 +0200518 +++ libc-0.0. 3/src/pthread/project.conf 2009-11-16 02:07:03.000000000 +0100516 diff -Naur libc-0.0.4.orig/src/pthread/project.conf libc-0.0.4/src/pthread/project.conf 517 --- libc-0.0.4.orig/src/pthread/project.conf 2009-08-06 00:54:57.000000000 +0200 518 +++ libc-0.0.4/src/pthread/project.conf 2009-12-20 08:15:49.000000000 +0100 519 519 @@ -6,6 +6,7 @@ 520 520 dist=Makefile … … 524 524 +type=libtool 525 525 sources=pthread.c 526 install=$(LIBDIR) 526 527 +ldflags=-Xcompiler -nostdlib 527 install=$(LIBDIR) 528 diff -Naur libc-0.0.3.orig/src/socket/Makefile libc-0.0.3/src/socket/Makefile 529 --- libc-0.0.3.orig/src/socket/Makefile 2009-11-11 10:34:58.000000000 +0100 530 +++ libc-0.0.3/src/socket/Makefile 2009-11-16 02:07:08.000000000 +0100 528 diff -Naur libc-0.0.4.orig/src/socket/Makefile libc-0.0.4/src/socket/Makefile 529 --- libc-0.0.4.orig/src/socket/Makefile 2009-12-20 06:56:18.000000000 +0100 530 +++ libc-0.0.4/src/socket/Makefile 2009-12-20 08:16:00.000000000 +0100 531 531 @@ -1,5 +1,5 @@ 532 532 SUBDIRS = kernel/freebsd kernel/linux kernel/netbsd … … 579 579 - $(CC) $(libsocket_CFLAGS) -o sys/socket.o -c sys/socket.c 580 580 - 581 -syscalls.o: syscalls.S kernel/linux/common.h kernel/linux/a rm/syscalls.S kernel/linux/i386/syscalls.S kernel/netbsd/amd64/syscalls.S kernel/netbsd/i386/syscalls.S kernel/netbsd/common.h kernel/netbsd/sparc/syscalls.S581 -syscalls.o: syscalls.S kernel/linux/common.h kernel/linux/amd64/syscalls.S kernel/linux/arm/syscalls.S kernel/linux/i386/syscalls.S kernel/netbsd/amd64/syscalls.S kernel/netbsd/i386/syscalls.S kernel/netbsd/common.h kernel/netbsd/sparc/syscalls.S 582 582 - $(AS) $(libsocket_ASFLAGS) -o syscalls.o syscalls.S 583 +syscalls.o syscalls.lo: syscalls.S kernel/linux/common.h kernel/linux/a rm/syscalls.S kernel/linux/i386/syscalls.S kernel/netbsd/amd64/syscalls.S kernel/netbsd/i386/syscalls.S kernel/netbsd/common.h kernel/netbsd/sparc/syscalls.S583 +syscalls.o syscalls.lo: syscalls.S kernel/linux/common.h kernel/linux/amd64/syscalls.S kernel/linux/arm/syscalls.S kernel/linux/i386/syscalls.S kernel/netbsd/amd64/syscalls.S kernel/netbsd/i386/syscalls.S kernel/netbsd/common.h kernel/netbsd/sparc/syscalls.S 584 584 + $(LIBTOOL) --mode=compile $(AS) $(libsocket_ASFLAGS) -o syscalls.o syscalls.S 585 585 … … 606 606 607 607 .PHONY: all subdirs clean distclean install uninstall 608 diff -Naur libc-0.0. 3.orig/src/socket/project.conf libc-0.0.3/src/socket/project.conf609 --- libc-0.0. 3.orig/src/socket/project.conf 2009-08-06 00:54:56.000000000 +0200610 +++ libc-0.0. 3/src/socket/project.conf 2009-11-16 02:07:06.000000000 +0100611 @@ -9, 8 +9,9@@608 diff -Naur libc-0.0.4.orig/src/socket/project.conf libc-0.0.4/src/socket/project.conf 609 --- libc-0.0.4.orig/src/socket/project.conf 2009-11-19 19:33:57.000000000 +0100 610 +++ libc-0.0.4/src/socket/project.conf 2009-12-20 08:15:51.000000000 +0100 611 @@ -9,9 +9,10 @@ 612 612 dist=Makefile,syscalls.h 613 613 … … 616 616 +type=libtool 617 617 sources=arpa/inet.c,netdb.c,sys/socket.c,syscalls.S 618 install=$(LIBDIR) 618 619 +ldflags=-Xcompiler -nostdlib 619 install=$(LIBDIR)620 620 621 621 [sys/socket.c] 622 depends=kernel/linux/common.h,kernel/netbsd/common.h,syscalls.h
Note: See TracChangeset
for help on using the changeset viewer.