Skip to content
Snippets Groups Projects
Commit 0d14cb57 authored by Mark Haines's avatar Mark Haines
Browse files

Get build_shared_library to compile at -O3 instead of -O0

parent 137aa31e
No related branches found
No related tags found
No related merge requests found
......@@ -16,14 +16,16 @@
import subprocess
import glob
import os
import sys
if not os.path.exists("build"):
os.mkdir("build")
source_files = glob.glob("src/*.cpp")
compile_args = "g++ -O0 -g -Iinclude -Ilib --std=c++11 --shared -fPIC".split()
compile_args = "g++ -O3 -Iinclude -Ilib --std=c++11 --shared -fPIC".split()
compile_args += source_files
compile_args += sys.argv[1:]
library = "build/libolm.so"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment