diff options
author | Drew Moseley <drew_moseley@mentor.com> | 2014-04-02 12:12:46 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-04-02 12:12:46 +0200 |
commit | 7537406edd3e0adf11d117379cac4e519e746d35 (patch) | |
tree | 61acb2ae985ce56a4f86834a05c9768948ebd2ed /LICENSE | |
parent | c9a67133d6a947532b560c7f2b9391ec299dd97f (diff) | |
download | busybox-7537406edd3e0adf11d117379cac4e519e746d35.tar.gz |
build system: specify '-nostldlib' when linking to .o files
For certain cross build scenarios the LD variable is overridden
to use the gcc executive to ensure all the target tuning parameters
are used. In these cases, the executive errors out as shown below
but since this step is only linking to a .o file the standard libs
are not needed.
$ make LD=gcc applets/built-in.o
LD applets/built-in.o
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[1]: *** [applets/built-in.o] Error 1
make: *** [applets_dir] Error 2
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions