This repository has been archived on 2025-12-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
yachat/qt-patches/009-all-all-disable inlining when debugging.patch

12 lines
577 B
Diff
Raw Permalink Normal View History

2025-12-25 01:37:49 +05:00
diff -urN qt-mac-opensource-src-4.4.2.orig/mkspecs/common/g++.conf qt-mac-opensource-src-4.4.2/mkspecs/common/g++.conf
--- qt-mac-opensource-src-4.4.2.orig/mkspecs/common/g++.conf 2008-09-21 01:43:49.000000000 +0400
+++ qt-mac-opensource-src-4.4.2/mkspecs/common/g++.conf 2008-09-21 01:50:26.000000000 +0400
@@ -9,6 +9,7 @@
QMAKE_CFLAGS_WARN_OFF += -w
QMAKE_CFLAGS_RELEASE += -O2
QMAKE_CFLAGS_DEBUG += -g
+QMAKE_CFLAGS_DEBUG += -fno-inline -fno-default-inline
QMAKE_CFLAGS_SHLIB += -fPIC
QMAKE_CFLAGS_STATIC_LIB += -fPIC
QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses