summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-10 10:27:12 -1000
committerJohn Wiegley <johnw@newartisans.com>2012-02-10 10:27:12 -1000
commitff666a44693c27cb88592ef44974e505ce0624bc (patch)
treec3f4b90e17e4815812b9aa540a321b3986dd9226 /acprep
parent1afbd183d2e5ef202ab8f78efd9ff5b8e7b5cb94 (diff)
downloadfork-ledger-ff666a44693c27cb88592ef44974e505ce0624bc.tar.gz
fork-ledger-ff666a44693c27cb88592ef44974e505ce0624bc.tar.bz2
fork-ledger-ff666a44693c27cb88592ef44974e505ce0624bc.zip
Rip out GLIBCXX_DEBUG references
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep16
1 files changed, 0 insertions, 16 deletions
diff --git a/acprep b/acprep
index be19fd2d..109d65f4 100755
--- a/acprep
+++ b/acprep
@@ -484,9 +484,6 @@ class PrepareBuild(CommandLineApp):
op.add_option('', '--clang', action='store_true',
dest='use_clang', default=False,
help='Use the Clang C++ compiler')
- #op.add_option('', '--glibcxx-debug', action='store_true',
- # dest='use_glibcxx_debug', default=False,
- # help='Define _GLIBCXX_DEBUG=1 during compilation')
op.add_option('', '--help', action="callback",
callback=self.option_help,
help='Show this help text')
@@ -712,9 +709,6 @@ class PrepareBuild(CommandLineApp):
self.log.info("Build directory => " + self.build_directory())
self.log.info("Need to run configure => " +
str(self.need_to_run_configure()))
- #self.log.info("Use _GLIBCXX_DEBUG => " +
- # str(self.options.use_glibcxx_debug
- # and not self.options.use_clang))
self.log.info("Use pre-compiled headers => " +
str('--enable-pch' in conf_args))
@@ -1032,9 +1026,6 @@ class PrepareBuild(CommandLineApp):
self.log.debug('Using Boost ident: %s/%s' %
(self.boost_inc_ident, self.boost_lib_ident))
- #if self.boost_lib_ident != "xgcc42":
- # self.CPPFLAGS.append('-D_GLIBCXX_FULLY_DYNAMIC_STRING=1')
-
if self.current_flavor == 'debug':
if exists('/usr/local/stow/icu-%s/include' % self.boost_inc_ident):
self.sys_include_dirs.insert(
@@ -1044,8 +1035,6 @@ class PrepareBuild(CommandLineApp):
self.configure_args.append('--disable-shared')
- if not self.options.use_clang:
- self.options.use_glibcxx_debug = True
elif self.current_flavor == 'gcov':
self.configure_args.append('--disable-shared')
else:
@@ -1292,11 +1281,6 @@ class PrepareBuild(CommandLineApp):
def locate_darwin_libraries(self):
if self.current_flavor == 'debug':
- #if self.options.use_glibcxx_debug and not self.options.use_clang:
- # self.log.debug('We are using GLIBCXX_DEBUG, so setting up flags')
- # self.CPPFLAGS.append('-D_GLIBCXX_DEBUG=1')
- # pass
-
if self.boost_info.configure(
home_path = '/usr/local/stow/boost_%s-%s' % \
(self.boost_version, self.boost_inc_ident),