upgrade to dnsmasq 2.17
[openwrt.git] / obsolete-buildroot / sources / libfloat.patch
1 diff -urN libfloat-dist/Makefile libfloat/Makefile
2 --- libfloat-dist/Makefile 2003-10-26 00:33:45.000000000 -0500
3 +++ libfloat/Makefile 2003-10-26 01:07:26.000000000 -0500
4 @@ -1,7 +1,7 @@
5 # Makefile for the Linux soft-float library
6
7 -CC=gcc -O2 -freg-struct-return -fomit-frame-pointer -D__LIBFLOAT__
8 -#CC=gcc -g -O2 -freg-struct-return -D__LIBFLOAT__
9 +CFLAGS= -O2 -freg-struct-return -fomit-frame-pointer -D__LIBFLOAT__ -msoft-float
10 +LIBGCC=$(shell $(CC) -print-libgcc-file-name)
11 AR=ar
12
13 all: libfloat.a libfloat.so.1
14 @@ -12,24 +11,24 @@
15
16 libfloat.so.1: softfloat.os fplib_glue.os
17 rm -f libfloat.so.1
18 - gcc -shared -Wl,-soname,libfloat.so.1 softfloat.os fplib_glue.os -o libfloat.so.1
19 + $(LD) -shared -soname=libfloat.so.1 softfloat.os fplib_glue.os -o libfloat.so.1 $(LIBGCC)
20
21 softfloat.o: softfloat/bits64/softfloat.c
22 - $(CC) -c -o softfloat.o -Isoftfloat/bits64/ARM-gcc softfloat/bits64/softfloat.c
23 + $(CC) $(CFLAGS) -c -o softfloat.o -Isoftfloat/bits64/ARM-gcc softfloat/bits64/softfloat.c
24
25 fplib_glue.o: fplib_glue.S
26 - $(CC) -c -o fplib_glue.o fplib_glue.S
27 + $(CC) $(CFLAGS) -c -o fplib_glue.o fplib_glue.S
28
29 softfloat.os: softfloat/bits64/softfloat.c
30 - $(CC) -fpic -c -o softfloat.os -Isoftfloat/bits64/ARM-gcc softfloat/bits64/softfloat.c
31 + $(CC) $(CFLAGS) -fpic -c -o softfloat.os -Isoftfloat/bits64/ARM-gcc softfloat/bits64/softfloat.c
32
33 fplib_glue.os: fplib_glue.S
34 - $(CC) -fpic -c -o fplib_glue.os fplib_glue.S
35 + $(CC) $(CFLAGS) -fpic -c -o fplib_glue.os fplib_glue.S
36
37 install: libfloat.a libfloat.so.1
38 cp -a libfloat.a $(DESTDIR)/usr/lib
39 - cp -a libfloat.so.1 $(DESTDIR)/usr/lib
40 - cd $(DESTDIR)/usr/lib; ln -s libfloat.so.1 libfloat.so
41 + cp -a libfloat.so.1 $(DESTDIR)/lib
42 + cd $(DESTDIR)/lib; ln -s libfloat.so.1 libfloat.so
43 #ldconfig
44
45 clean:
This page took 0.061538 seconds and 5 git commands to generate.