X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=da89f8627435b877c01c75c90586ffeacb925956;hb=86fd6b4f61cefe402d81d61db7d8cb1f79d5ba71;hp=a7a2cbfcdc8ac7da41b54a71d434eec200837224;hpb=7c1ecbfbf1985bb32165d40bb41009d510d6cb16;p=elogind.git diff --git a/Makefile b/Makefile index a7a2cbfcd..da89f8627 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION = 109 +VERSION = 111 # set this to make use of syslog USE_LOG = true @@ -113,13 +113,13 @@ LD = $(CROSS_COMPILE)gcc AR = $(CROSS_COMPILE)ar RANLIB = $(CROSS_COMPILE)ranlib -CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 +CFLAGS += -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \ -Wchar-subscripts -Wmissing-declarations -Wnested-externs \ -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes CFLAGS += $(WARNINGS) -LDFLAGS = -Wl,-warn-common +LDFLAGS += -Wl,-warn-common OPTFLAGS = -Os CFLAGS += $(OPTFLAGS)