Skip to content
Snippets Groups Projects
Commit 93a5449d authored by Sander Mathijs van Veen's avatar Sander Mathijs van Veen
Browse files

Enable optimized bison generated parser builds.

parent adcd1413
No related branches found
No related tags found
No related merge requests found
......@@ -5,13 +5,13 @@ PYBISON_INC := -Iexternal/pybison/src/c -I/usr/include/python2.7
build: $(b)pybison/bison_.so $(b)pybison/bison.py
$(b)pybison/bison_.so: $(b)pybison/bison_.o $(b)pybison/bisondynlib-linux.o
$(CC) -g -O0 -pipe -Wall -Wextra -shared -pthread -o $@ $^
$(CC) -g -O3 -pipe -Wall -Wextra -shared -pthread -o $@ $^
$(b)pybison/bison.py: $(d)pybison/src/python/bison.py | $(b)pybison
ln -s `realpath $<` $@
$(b)pybison/bisondynlib-linux.o $(b)pybison/bison_.o: | $(b)pybison
$(CC) -g -O0 -pipe -Wall -Wextra -o $@ -c $< -pthread -fPIC $(PYBISON_INC)
$(CC) -g -O3 -pipe -Wall -Wextra -o $@ -c $< -pthread -fPIC $(PYBISON_INC)
$(b)pybison/bisondynlib-linux.o: $(d)pybison/src/c/bisondynlib-linux.c
$(b)pybison/bison_.o: $(b)pybison/bison_.c
......
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