mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-03 03:26:39 +00:00
glibc.sh: build dummy libc.so with correct extra flags
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
c7da54edf4
commit
dc8f2d1c04
@ -475,7 +475,8 @@ do_libc_backend_once() {
|
|||||||
# However, since we will never actually execute its code,
|
# However, since we will never actually execute its code,
|
||||||
# it doesn't matter what it contains. So, treating '/dev/null'
|
# it doesn't matter what it contains. So, treating '/dev/null'
|
||||||
# as a C source file, we produce a dummy 'libc.so' in one step
|
# as a C source file, we produce a dummy 'libc.so' in one step
|
||||||
CT_DoExecLog ALL "${cross_cc}" -nostdlib \
|
CT_DoExecLog ALL "${cross_cc}" ${extra_flags} \
|
||||||
|
-nostdlib \
|
||||||
-nostartfiles \
|
-nostartfiles \
|
||||||
-shared \
|
-shared \
|
||||||
-x c /dev/null \
|
-x c /dev/null \
|
||||||
|
Loading…
Reference in New Issue
Block a user