mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 06:07:49 +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,
|
||||
# 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
|
||||
CT_DoExecLog ALL "${cross_cc}" -nostdlib \
|
||||
CT_DoExecLog ALL "${cross_cc}" ${extra_flags} \
|
||||
-nostdlib \
|
||||
-nostartfiles \
|
||||
-shared \
|
||||
-x c /dev/null \
|
||||
|
Loading…
Reference in New Issue
Block a user