From 7e48132dde84a59c0f725027ec46f6444e22c8b0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 7 Feb 2009 13:30:02 +0100 Subject: [PATCH] Fix some stuff committed in previous. --HG-- extra : convert_revision : a0daf5c9d6bf623d3a35c5e2195cc7adaa3ed753 --- bin/xbps-bin/Makefile | 2 +- vars.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/xbps-bin/Makefile b/bin/xbps-bin/Makefile index 5a5231716a0..aa1a060fc2c 100644 --- a/bin/xbps-bin/Makefile +++ b/bin/xbps-bin/Makefile @@ -8,7 +8,7 @@ all: $(BIN) .PHONY: all $(BIN): $(OBJS) - $(CC) -g $(LDFLAGS) $^ -o $@ + $(CC) $(LDFLAGS) $^ -o $@ .PHONY: clean clean: clean-bins clean-objs diff --git a/vars.mk b/vars.mk index 51e024b5458..9eb5ff598be 100644 --- a/vars.mk +++ b/vars.mk @@ -6,7 +6,7 @@ LIBDIR ?= $(PREFIX)/lib ETCDIR ?= $(PREFIX)/etc TOPDIR ?= .. -LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX) -lxbps +LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX)/lib -lxbps CPPFLAGS += -I$(TOPDIR)/include CFLAGS += -Wstack-protector -fstack-protector-all CFLAGS += -O2 -Wall -Werror -fPIC -DPIC