qrexec: enable compiler optimization

Besides obvious profits, it also enables some additional compiler
warnings.
This commit is contained in:
Marek Marczykowski-Górecki 2015-03-20 12:06:33 +01:00
parent b718747c09
commit c33565b001

View File

@ -1,5 +1,5 @@
CC=gcc
CFLAGS+=-I. -g -Wall -Wextra -Werror -pie -fPIC `pkg-config --cflags vchan-$(BACKEND_VMM)`
CFLAGS+=-I. -g -O2 -Wall -Wextra -Werror -pie -fPIC `pkg-config --cflags vchan-$(BACKEND_VMM)`
LDFLAGS=-pie
LDLIBS=`pkg-config --libs vchan-$(BACKEND_VMM)` -lqrexec-utils