Commit 03907394 by Ian Lance Taylor

mksysinfo: strip locale structs

    
    We don't need them, and this fixes the build when using uClibc-ng
    1.0.26 as originally reported at
    https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01930.html
    
    Reviewed-on: https://go-review.googlesource.com/67110

From-SVN: r253291
parent d4dfb005
11b7dae7de94215e92eb46e703cfecd76c0a3282 9a9d526a4c0a7f5b3635034b3e1dc3bbe6380dd2
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -23,6 +23,7 @@ grep -v '^// ' gen-sysinfo.go | \ ...@@ -23,6 +23,7 @@ grep -v '^// ' gen-sysinfo.go | \
grep -v '^type _timespec_t ' | \ grep -v '^type _timespec_t ' | \
grep -v '^type _timespec ' | \ grep -v '^type _timespec ' | \
grep -v '^type _epoll_' | \ grep -v '^type _epoll_' | \
grep -v '^type _*locale[_ ]' | \
grep -v 'in6_addr' | \ grep -v 'in6_addr' | \
grep -v 'sockaddr_in6' | \ grep -v 'sockaddr_in6' | \
sed -e 's/\([^a-zA-Z0-9_]\)_timeval\([^a-zA-Z0-9_]\)/\1timeval\2/g' \ sed -e 's/\([^a-zA-Z0-9_]\)_timeval\([^a-zA-Z0-9_]\)/\1timeval\2/g' \
......
...@@ -34,6 +34,7 @@ grep -v '^// ' gen-sysinfo.go | \ ...@@ -34,6 +34,7 @@ grep -v '^// ' gen-sysinfo.go | \
grep -v '^type _timespec ' | \ grep -v '^type _timespec ' | \
grep -v '^type _timestruc_t ' | \ grep -v '^type _timestruc_t ' | \
grep -v '^type _epoll_' | \ grep -v '^type _epoll_' | \
grep -v '^type _*locale[_ ]' | \
grep -v 'in6_addr' | \ grep -v 'in6_addr' | \
grep -v 'sockaddr_in6' | \ grep -v 'sockaddr_in6' | \
sed -e 's/\([^a-zA-Z0-9_]\)_timeval\([^a-zA-Z0-9_]\)/\1Timeval\2/g' \ sed -e 's/\([^a-zA-Z0-9_]\)_timeval\([^a-zA-Z0-9_]\)/\1Timeval\2/g' \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment