mirror of https://github.com/krallin/tini.git
parent
c35496874c
commit
c666a4f718
4 changed files with 17 additions and 4 deletions
@ -1,10 +1,11 @@ |
|||||||
VERSION = 0.1.0
|
VERSION=0.2.0
|
||||||
|
GIT_REV=$(shell git log -n 1 --date=local --pretty=format:"%h")
|
||||||
|
|
||||||
# paths
|
# paths
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
|
|
||||||
CC = cc
|
CC = cc
|
||||||
LD = $(CC)
|
LD = $(CC)
|
||||||
CPPFLAGS=-D_FORTIFY_SOURCE=2
|
CPPFLAGS=-D_FORTIFY_SOURCE=2 -DTINI_VERSION="\"$(VERSION) - $(GIT_REV)\""
|
||||||
CFLAGS=-std=gnu99 -Wextra -Wall -pedantic -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
|
CFLAGS=-std=gnu99 -Wextra -Wall -pedantic -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
|
||||||
LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-s
|
LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-s
|
||||||
|
Loading…
Reference in new issue