diff options
author | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-02 19:51:57 +0000 |
---|---|---|
committer | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-02 19:51:57 +0000 |
commit | e9f3f51dd517efde240c585ac8528e560836e950 (patch) | |
tree | 869fe6076884cafd91975966e8b65c1eb6e498cc | |
parent | 46201873c46899b4ee95648d9f47076dc129a5b7 (diff) | |
download | libapr-e9f3f51dd517efde240c585ac8528e560836e950.tar.gz |
Some small changes to the profile options...
- remove the -g so we don't duplicate by hvaing -pg and -g
- add the correct flags to get it all working correctly on beos
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62086 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 7b89f0e06..d9baa0880 100644 --- a/configure.in +++ b/configure.in @@ -158,6 +158,12 @@ AC_ARG_ENABLE(assert-memory,[ --enable-assert-memory Turn on asserts in the AP AC_ARG_ENABLE(profile,[ --enable-profile Turn on profiling for the build (GCC)], if test "$GCC" = "yes"; then APR_ADDTO(CFLAGS, -pg) + APR_REMOVEFROM(CFLAGS, -g) + if test "$host" = "i586-pc-beos"; then + APR_REMOVEFROM(CFLAGS, -O2) + APR_ADDTO(CFLAGS, -O1) + APR_ADDTO(LDFLAGS, -p) + fi fi )dnl |