Fix previous and make sure that we build PIE binaries.
(cherry picked from commit 1b9dd30d7b590e219cb51561f1e7371f4628575f)
This commit is contained in:
@@ -49,6 +49,7 @@ $(BIN).static: $(OBJS)
|
||||
|
||||
$(BIN): $(OBJS)
|
||||
@printf " [CCLD]\t\t$@\n"
|
||||
${SILENT}$(CC) $^ $(CPPFLAGS) -L$(TOPDIR)/lib $(CFLAGS) \
|
||||
$(PROG_CFLAGS) $(LDFLAGS) -lxbps -o $@
|
||||
${SILENT}$(CC) $^ $(CPPFLAGS) -L$(TOPDIR)/lib \
|
||||
$(CFLAGS) $(PROG_CFLAGS) $(LDFLAGS) $(PROG_LDFLAGS) \
|
||||
-lxbps -o $@
|
||||
|
||||
|
Reference in New Issue
Block a user