--- a/src/src.pro
+++ b/src/src.pro
@@ -5,7 +5,7 @@
 # Platform specific configuration
 win32: include(../winconf.pri)
 macx: include(../macxconf.pri)
-unix:!macx: include(../unixconf.pri)
+unix|win32-g++*|win32-clang-g++*: include(../unixconf.pri)
 
 QT += network xml
 
--- a/unixconf.pri
+++ b/unixconf.pri
@@ -11,7 +11,7 @@
 !nogui:dbus: QT += dbus
 
 QMAKE_CXXFLAGS += -Wall -Wextra -Wpedantic -Wformat-security
-!haiku: QMAKE_LFLAGS_APP += -rdynamic
+#!haiku: QMAKE_LFLAGS_APP += -rdynamic
 
 # Man page
 nogui {
--- a/winconf.pri
+++ b/winconf.pri
@@ -23,7 +23,7 @@
     DEFINES += NDEBUG
 }
 
-win32-g++* {
+win32-g++*|win32-clang-g++* {
     CONFIG(debug, debug|release) {
         # Make sure binary is not relocatable, otherwise debugging will fail
         QMAKE_LFLAGS -= -Wl,--dynamicbase
@@ -58,7 +58,7 @@
 
 # Stack trace support can be enabled in 'conf.pri'
 stacktrace {
-    win32-g++* {
+    win32-g++*|win32-clang-g++* {
         contains(QMAKE_HOST.arch, x86) {
             # i686 arch requires frame pointer preservation
             QMAKE_CXXFLAGS += -fno-omit-frame-pointer
