aboutsummaryrefslogtreecommitdiffstats
path: root/testing/poco/cxxflags.patch
blob: 0ba6f7b789f9a9b5b2c9223c570a3e2a27311ff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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