Added optimization flags
This commit is contained in:
parent
3b4c542117
commit
7343039678
4
Makefile
4
Makefile
|
@ -10,7 +10,9 @@ MODULE_big := pg_libphonenumber
|
||||||
OBJS := pg_libphonenumber.o short_phone_number.o
|
OBJS := pg_libphonenumber.o short_phone_number.o
|
||||||
PG_CPPFLAGS := -fPIC -std=c++11
|
PG_CPPFLAGS := -fPIC -std=c++11
|
||||||
ifeq ($(CONFIG),debug)
|
ifeq ($(CONFIG),debug)
|
||||||
PG_CPPFLAGS += -g
|
PG_CPPFLAGS += -g -Og
|
||||||
|
else
|
||||||
|
PG_CPPFLAGS += -O3
|
||||||
endif
|
endif
|
||||||
SHLIB_LINK := -lphonenumber -lstdc++
|
SHLIB_LINK := -lphonenumber -lstdc++
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue