CMake: Enable PIC on Linux
Otherwise ASLR does not work. Also stops LTO builds crashing in the middle of Qt on Fedora.
This commit is contained in:
@ -143,7 +143,7 @@ echo "Building libbacktrace..."
|
||||
rm -fr "libbacktrace-$LIBBACKTRACE"
|
||||
unzip "$LIBBACKTRACE.zip"
|
||||
cd "libbacktrace-$LIBBACKTRACE"
|
||||
./configure --prefix="$INSTALLDIR"
|
||||
./configure --prefix="$INSTALLDIR" --with-pic
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user