summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep8
1 files changed, 5 insertions, 3 deletions
diff --git a/acprep b/acprep
index ca718136..5cfd6710 100755
--- a/acprep
+++ b/acprep
@@ -99,7 +99,7 @@ class CommandLineApp(object):
force_exit = True # If true, always ends run() with sys.exit()
log_handler = None
- boost_major = "1_50"
+ boost_major = "1_52"
def __init__(self):
"Initialize CommandLineApp."
@@ -660,8 +660,10 @@ class PrepareBuild(CommandLineApp):
self.configure_args.append('-DCMAKE_CXX_COMPILER:PATH=/usr/local/bin/clang++')
if self.current_flavor == 'opt':
- self.configure_args.append('-DCMAKE_CXX_FLAGS_RELEASE:STRING=-O4')
- self.configure_args.append('-DCMAKE_CXX_LINK_FLAGS_RELEASE:STRING=-O4')
+ self.configure_args.append('-DCMAKE_CXX_FLAGS_RELEASE:STRING=-O3')
+ self.configure_args.append('-DCMAKE_EXE_LINKER_FLAGS:STRING=-O3')
+ self.configure_args.append('-DCMAKE_SHARED_LINKER_FLAGS:STRING=-O3')
+ self.configure_args.append('-DCMAKE_MODULE_LINKER_FLAGS:STRING=-O3')
#else:
# self.CXXFLAGS.append('-g -O1 -faddress-sanitizer')
# self.LDFLAGS.append('-g -O1 -faddress-sanitizer')