Skip to content

Commit f30128c

Browse files
committed
build: remove -pg. #1219
useless and generate unsupported section for mac
1 parent 80bd494 commit f30128c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

common.pri

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@ isEmpty(QMAKE_EXTENSION_SHLIB) {
3030
}
3131
}
3232

33-
CONFIG += profile
34-
#profiling, -pg is not supported for msvc
35-
debug:!ios:!android:!*msvc*:profile {
36-
QMAKE_CXXFLAGS_DEBUG += -pg
37-
QMAKE_LFLAGS_DEBUG += -pg
38-
QMAKE_CXXFLAGS_DEBUG = $$unique(QMAKE_CXXFLAGS_DEBUG)
39-
QMAKE_LFLAGS_DEBUG = $$unique(QMAKE_LFLAGS_DEBUG)
40-
}
41-
4233
#$$[TARGET_PLATFORM]
4334
#$$[QT_ARCH] #windows symbian windowsce arm
4435
_OS =

0 commit comments

Comments
 (0)