Add gcc opimization

This commit is contained in:
2021-05-10 18:12:08 +02:00
parent 3f5eee236d
commit 43c512dc5a
3 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ compile:
compile-debian:
@mkdir -p bin
gcc $(LIBS) -o bin/libnecronda-server.so --shared -fPIC $(CFLAGS) $(INCLUDE) \
$(DEBIAN_OPTS)
$(DEBIAN_OPTS) -O3
gcc src/necronda-server.c -o bin/necronda-server $(CFLAGS) $(INCLUDE) \
-Lbin -lnecronda-server -Wl,-rpath=$(shell pwd)/bin \
$(DEBIAN_OPTS)
$(DEBIAN_OPTS) -O3