diff --git a/mkspecs/common/solaris.conf b/mkspecs/common/solaris.conf index 024b75a9d9..d21766283b 100644 --- a/mkspecs/common/solaris.conf +++ b/mkspecs/common/solaris.conf @@ -6,6 +6,7 @@ QMAKE_PLATFORM += solaris include(unix.conf) +QMAKE_CFLAGS_PIC = -fPIC QMAKE_CFLAGS_THREAD = -D_REENTRANT QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD QMAKE_LFLAGS_GCSECTIONS = -Wl,-z,ignore