projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (from parent 1:
70d97bb
)
Ported in flags from Drizzle.
author
Monty Taylor
<mordred@inaugust.com>
Tue, 16 Jun 2009 15:31:26 +0000
(08:31 -0700)
committer
Monty Taylor
<mordred@inaugust.com>
Tue, 16 Jun 2009 15:31:26 +0000
(08:31 -0700)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 422a41d19f1b8709cf2a3028045a6ad08f725c9a..f83c9e064ed419b69617116c0170f5e36d2050f6 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-106,14
+106,23
@@
AS_IF([test "$ac_cv_prog_cc_c99" != "no"],
if test "$GCC" = "yes"
then
CFLAGS="-ggdb3 ${CFLAGS}"
if test "$GCC" = "yes"
then
CFLAGS="-ggdb3 ${CFLAGS}"
+ CXXFLAGS="-ggdb3 ${CXXFLAGS}"
+
DEBUG_CFLAGS="-O0"
DEBUG_CFLAGS="-O0"
+ DEBUG_CXXFLAGS="-O0"
+
OPTIMIZE_CFLAGS="-O3"
OPTIMIZE_CFLAGS="-O3"
+ OPTIMIZE_CXXFLAGS="-O3"
fi
if test "x$SUNCC" = "xyes"
then
fi
if test "x$SUNCC" = "xyes"
then
- CFLAGS="-g -mt ${CFLAGS}"
- CXXFLAGS="-g -mt -xlang=c99 ${CXXFLAGS}"
- OPTIMIZE_CFLAGS="-xO4 -xlibmil -xdepend -Xa -xstrconst"
+ CFLAGS="-g -mt ${CFLAGS}"
+ CXXFLAGS="-g -mt -xlang=c99 ${CXXFLAGS}"
+
+ OPTIMIZE_FLAGS="-xO4 -xlibmil -xdepend -xbuiltin -lmopt"
+ OPTIMIZE_CFLAGS="${OPTIMIZE_FLAGS} -Xa -xstrconst"
+ OPTIMIZE_CXXFLAGS="${OPTIMIZE_FLAGS}"
+
fi
SOLARIS_64BIT
fi
SOLARIS_64BIT