mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
Turns out linking with LTO still doesn't play nice with Qt. For reference: https://github.com/InBetweenNames/gentooLTO/issues/444 https://bugreports.qt.io/browse/QTBUG-61710
This commit is contained in:
parent
1dbb5422a2
commit
5ba07ed50f
@ -33,8 +33,7 @@ else
|
||||
export RANLIB=/usr/bin/llvm-ranlib-$LLVMVER
|
||||
fi
|
||||
|
||||
# Use link time optimization to save some space
|
||||
export CFLAGS="-flto -fuse-linker-plugin -fuse-ld=${LINKER}"
|
||||
export CFLAGS="-fuse-linker-plugin -fuse-ld=${LINKER}"
|
||||
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_LLVM_SUBMODULE=OFF -DUSE_COTIRE=OFF -DLLVM_DIR=llvmlibs/lib/cmake/llvm/ -DUSE_NATIVE_INSTRUCTIONS=OFF \
|
||||
-DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CFLAGS" -DCMAKE_AR=$AR -DCMAKE_RANLIB=$RANLIB \
|
||||
|
Loading…
Reference in New Issue
Block a user