diff options
author | Alexey Neyman <stilor@att.net> | 2016-05-21 16:53:19 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-06-09 17:12:49 -0700 |
commit | dc8f2d1c04258069101e913d22c898298b98384c (patch) | |
tree | 199f985d8429efb8d075bba2051502f13a30ccf6 /scripts/build/libc | |
parent | c7da54edf4c2e3a3eb97eb5fb967143e5071a670 (diff) | |
download | crosstool-ng-dc8f2d1c04258069101e913d22c898298b98384c.tar.gz crosstool-ng-dc8f2d1c04258069101e913d22c898298b98384c.tar.bz2 crosstool-ng-dc8f2d1c04258069101e913d22c898298b98384c.zip |
glibc.sh: build dummy libc.so with correct extra flags
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/glibc.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 192a0055..472acad4 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -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 \ |