diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-17 18:44:15 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-17 18:44:15 +0000 |
commit | 3132131d6265f6107c652f634c8b4a3e006fb46f (patch) | |
tree | 1d18bbba8f8a1d78d7ff13e7a87ee2aab165125f /Makefile | |
parent | 0055f41a9885374ff57a4b90af63aaac6dd01f58 (diff) | |
download | busybox-w32-3132131d6265f6107c652f634c8b4a3e006fb46f.tar.gz busybox-w32-3132131d6265f6107c652f634c8b4a3e006fb46f.tar.bz2 busybox-w32-3132131d6265f6107c652f634c8b4a3e006fb46f.zip |
Reworked the source so it will compile and run under glibc 2.0.7
and linux kernel 2.0.36 (though the dubious reasons why someone
would want to do that defy imagination ;)
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@243 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | 18 | ||
19 | PROG=busybox | 19 | PROG=busybox |
20 | VERSION=0.39 | 20 | VERSION=0.40 |
21 | BUILDTIME=$(shell date "+%Y%m%d-%H%M") | 21 | BUILDTIME=$(shell date "+%Y%m%d-%H%M") |
22 | 22 | ||
23 | # Comment out the following to make a debuggable build | 23 | # Comment out the following to make a debuggable build |
@@ -31,8 +31,8 @@ DOSTATIC=false | |||
31 | #This will choke on a non-debian system | 31 | #This will choke on a non-debian system |
32 | ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'` | 32 | ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'` |
33 | 33 | ||
34 | GCCMAJVERSION=`$(CC) --version | sed -n "s/^\([0-9]\)\.\([0-9].*\)[\.].*/\1/p"` | 34 | GCCMAJVERSION=$(shell $(CC) --version | sed -n "s/^\([^\.]*\).*/\1/p" ) |
35 | GCCMINVERSION=`$(CC) --version | sed -n "s/^\([0-9]\)\.\([0-9].*\)[\.].*/\2/p"` | 35 | GCCMINVERSION=$(shell $(CC) --version | sed -n "s/^[^\.]*\.\([^\.]*\)[\.].*/\1/p" ) |
36 | 36 | ||
37 | GCCSUPPORTSOPTSIZE=$(shell \ | 37 | GCCSUPPORTSOPTSIZE=$(shell \ |
38 | if ( test $(GCCMAJVERSION) -eq 2 ) ; then \ | 38 | if ( test $(GCCMAJVERSION) -eq 2 ) ; then \ |