qt4: unset LD
Commit 093cc00cdd
sets the `LD' environment
variable by default, interfering with the Makefile which uses gcc for linking.
This commit is contained in:
parent
fe800447c2
commit
9aa4f09008
@ -114,6 +114,7 @@ stdenv.mkDerivation rec {
|
|||||||
-datadir $out/share/${name}
|
-datadir $out/share/${name}
|
||||||
-translationdir $out/share/${name}/translations
|
-translationdir $out/share/${name}/translations
|
||||||
"
|
"
|
||||||
|
unset LD # Makefile uses gcc for linking; setting LD interferes
|
||||||
'' + optionalString stdenv.cc.isClang ''
|
'' + optionalString stdenv.cc.isClang ''
|
||||||
sed -i 's/QMAKE_CC = gcc/QMAKE_CC = clang/' mkspecs/common/g++-base.conf
|
sed -i 's/QMAKE_CC = gcc/QMAKE_CC = clang/' mkspecs/common/g++-base.conf
|
||||||
sed -i 's/QMAKE_CXX = g++/QMAKE_CXX = clang++/' mkspecs/common/g++-base.conf
|
sed -i 's/QMAKE_CXX = g++/QMAKE_CXX = clang++/' mkspecs/common/g++-base.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user