diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,7 +9,7 @@ MD5SUM=md5sum -b TAR=tar INSTALL_ROOT=/usr/local -CFLAGS=-Wall -Werror -pedantic -std=c89 -fPIC -fmax-errors=1 -DPROJECT_VERSION=$(PROJECT_VERSION) -D_POSIX_C_SOURCE=200112L +CFLAGS=-Wall -Werror -pedantic -std=c89 -fPIC -Os -fmax-errors=1 -DPROJECT_VERSION=$(PROJECT_VERSION) -D_POSIX_C_SOURCE=200112L LDFLAGS=-Wl,-s,--as-needed,--gc-sections,-pie @@ -47,6 +47,7 @@ dist/getaddrinfo-$(PROJECT_VERSION)+$(ARCH).tgz: build/bin/getaddrinfo $(MKDIR_P) "$(shell dirname "$@")" build/tar build/tar/bin $(COPYTO) build/tar/bin/. build/bin/getaddrinfo echo "version=$(PROJECT_VERSION)" > build/tar/METADATA.INI + echo "arch=$(ARCH)" >> build/tar/METADATA.INI echo "builtAt=$(shell date -u +%Y-%m-%dT%H:%M:%SZ)" >> build/tar/METADATA.INI $(TAR) --owner=0 --group=0 -czf "$@" -C build/tar METADATA.INI bin/getaddrinfo |