mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added compilation flag for profiling in GUI
This commit is contained in:
parent
ef954514be
commit
2dfe116a31
@ -14,6 +14,13 @@ DEFINES += TARGET=\\\"$TARGET\\\"
|
||||
#CONFIG += debug
|
||||
#DEFINES *= SIGFPE_DEBUG
|
||||
|
||||
profiling {
|
||||
QMAKE_CXXFLAGS -= -fomit-frame-pointer
|
||||
QMAKE_CXXFLAGS *= -pg -g -fno-omit-frame-pointer
|
||||
QMAKE_LFLAGS *= -pg
|
||||
}
|
||||
|
||||
|
||||
#QMAKE_CFLAGS += -fmudflap
|
||||
#LIBS *= /usr/lib/gcc/x86_64-linux-gnu/4.4/libmudflap.a /usr/lib/gcc/x86_64-linux-gnu/4.4/libmudflapth.a
|
||||
|
||||
@ -69,7 +76,7 @@ linux-* {
|
||||
|
||||
PKGCONFIG *= x11 xscrnsaver
|
||||
|
||||
LIBS *= -rdynamic
|
||||
LIBS *= -rdynamic
|
||||
DEFINES *= HAVE_XSS # for idle time, libx screensaver extensions
|
||||
DEFINES *= HAS_GNOME_KEYRING
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user