aboutsummaryrefslogtreecommitdiffstats
path: root/testing/poco/cxxflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/poco/cxxflags.patch')
-rw-r--r--testing/poco/cxxflags.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/poco/cxxflags.patch b/testing/poco/cxxflags.patch
new file mode 100644
index 0000000000..0ba6f7b789
--- /dev/null
+++ b/testing/poco/cxxflags.patch
@@ -0,0 +1,24 @@
+--- a/build/config/Linux
++++ b/build/config/Linux
+@@ -41,7 +41,7 @@
+ CFLAGS =
+ CFLAGS32 =
+ CFLAGS64 =
+-CXXFLAGS = -Wall -Wno-sign-compare
++CXXFLAGS = -Wall -Wno-sign-compare -fomit-frame-pointer
+ CXXFLAGS32 =
+ CXXFLAGS64 =
+ LINKFLAGS =
+@@ -56,9 +56,9 @@
+ DEBUGOPT_CC = -g -D_DEBUG
+ DEBUGOPT_CXX = -g -D_DEBUG
+ DEBUGOPT_LINK = -g
+-RELEASEOPT_CC = -O2 -DNDEBUG
+-RELEASEOPT_CXX = -O2 -DNDEBUG
+-RELEASEOPT_LINK = -O2
++RELEASEOPT_CC = -Os -DNDEBUG
++RELEASEOPT_CXX = -Os -DNDEBUG
++RELEASEOPT_LINK = -Os
+
+ #
+ # System Specific Flags