summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-20 02:08:18 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-20 02:08:18 +0200
commit25aff18afc08dfed37de724d2a11e08f38e67972 (patch)
tree99427536ab0e060a834ffe0a96dd3be908b1d72e
parent7227cc3a67df08bd9b4c9c31e1e4b6f6f22ef808 (diff)
downloadplus-25aff18afc08dfed37de724d2a11e08f38e67972.tar.gz
plus-25aff18afc08dfed37de724d2a11e08f38e67972.tar.bz2
plus-25aff18afc08dfed37de724d2a11e08f38e67972.tar.xz
plus-25aff18afc08dfed37de724d2a11e08f38e67972.zip
Add option for gcc profiling.
-rwxr-xr-xpmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/pmake b/pmake
index 6a636ba28..86f312992 100755
--- a/pmake
+++ b/pmake
@@ -5,6 +5,8 @@ dir=`pwd`
export CC=gcc-4.5
export CXX=g++-4.5
+#-D_GLIBCXX_PROFILE
+
export LANG=C
export CXXFLAGS="-pg -fno-inline -Wunreachable-code -Wmissing-field-initializers \
-Wabi -Wdisabled-optimization -Wuninitialized \