Merge pull request #67246 from tobim/gcc8/qt48
qt48: Fix build for gcc8
This commit is contained in:
commit
aafc6d09e7
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ stdenv.mkDerivation rec {
|
|||
prePatch = ''
|
||||
substituteInPlace configure --replace /bin/pwd pwd
|
||||
substituteInPlace src/corelib/global/global.pri --replace /bin/ls ${coreutils}/bin/ls
|
||||
substituteInPlace src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp \
|
||||
--replace 'asm volatile' 'asm'
|
||||
sed -e 's@/\(usr\|opt\)/@/var/empty/@g' -i config.tests/*/*.test -i mkspecs/*/*.conf
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
# remove impure reference to /usr/lib/libstdc++.6.dylib
|
||||
|
|
Loading…
Reference in a new issue