Making gcc not build libgomp with uclibc, as it lacks '-ldl' in its checks and
I don't know how to add it. This makes gcc build with uclibc. svn path=/nixpkgs/trunk/; revision=34231
This commit is contained in:
parent
5aa41fb2ef
commit
e9186a03b9
|
@ -135,7 +135,10 @@ let version = "4.6.3";
|
|||
# In any case, g++ linking is broken by default with shared libs,
|
||||
# unless adding "-lsupc++" to any linking command. I don't know why.
|
||||
" --disable-shared"
|
||||
else
|
||||
else (if cross.libc == "uclibc" then
|
||||
# In uclibc cases, libgomp needs an additional '-ldl'
|
||||
# and as I don't know how to pass it, I disable libgomp.
|
||||
" --disable-libgomp" else "") +
|
||||
" --enable-threads=posix" +
|
||||
" --enable-nls" +
|
||||
" --disable-decimal-float") # No final libdecnumber (it may work only in 386)
|
||||
|
|
Loading…
Reference in a new issue