Fix some stuff committed in previous.

--HG--
extra : convert_revision : a0daf5c9d6bf623d3a35c5e2195cc7adaa3ed753
This commit is contained in:
Juan RP 2009-02-07 13:30:02 +01:00
parent 61f0b09698
commit 7e48132dde
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ all: $(BIN)
.PHONY: all .PHONY: all
$(BIN): $(OBJS) $(BIN): $(OBJS)
$(CC) -g $(LDFLAGS) $^ -o $@ $(CC) $(LDFLAGS) $^ -o $@
.PHONY: clean .PHONY: clean
clean: clean-bins clean-objs clean: clean-bins clean-objs

View File

@ -6,7 +6,7 @@ LIBDIR ?= $(PREFIX)/lib
ETCDIR ?= $(PREFIX)/etc ETCDIR ?= $(PREFIX)/etc
TOPDIR ?= .. TOPDIR ?= ..
LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX) -lxbps LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX)/lib -lxbps
CPPFLAGS += -I$(TOPDIR)/include CPPFLAGS += -I$(TOPDIR)/include
CFLAGS += -Wstack-protector -fstack-protector-all CFLAGS += -Wstack-protector -fstack-protector-all
CFLAGS += -O2 -Wall -Werror -fPIC -DPIC CFLAGS += -O2 -Wall -Werror -fPIC -DPIC