void-packages/vars.mk
Juan RP a711ace8f7 vars.mk: disable -fstack-protector-all, leave this to the host compiler.
--HG--
extra : convert_revision : 91ed9643631589256bc4a9b4b230292ee0049d48
2009-02-27 16:01:33 +01:00

12 lines
283 B
Makefile

# Common variables.
PREFIX ?= /usr/local
SBINDIR ?= $(PREFIX)/sbin
LIBDIR ?= $(PREFIX)/lib
ETCDIR ?= $(PREFIX)/etc
TOPDIR ?= ..
INSTALL_STRIPPED ?= -s
LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX)/lib -lxbps
CPPFLAGS += -I$(TOPDIR)/include
CFLAGS += -O2 -Wall -Wextra -Werror -fPIC -DPIC