ncurses/ncurses-5.7-tack.dif

47 lines
1.5 KiB
Plaintext
Raw Normal View History

---
tack/Makefile.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--- tack/Makefile.in
+++ tack/Makefile.in 2018-01-22 11:17:39.717358930 +0000
@@ -84,7 +84,7 @@ CFLAGS_LIBTOOL = $(CCFLAGS)
CFLAGS_NORMAL = $(CCFLAGS)
CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
CFLAGS_PROFILE = $(CCFLAGS) -pg
-CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
+CFLAGS_SHARED = $(CCFLAGS) -fPIE
CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
@@ -93,7 +93,7 @@ ABI_VERSION = @cf_cv_abi_version@
LOCAL_LIBDIR = @top_builddir@/lib
LD = @LD@
-LINK = @LINK_PROGS@ $(LIBTOOL_LINK)
+LINK = @LINK_PROGS@ $(CC)
LDFLAGS = @EXTRA_LDFLAGS@ @TINFO_LDFLAGS@ \
@LDFLAGS@ @LD_MODEL@ @TINFO_LIBS@ @LIBS@
@@ -101,7 +101,7 @@ LDFLAGS_LIBTOOL = $(LDFLAGS) $(CFLAGS_LI
LDFLAGS_NORMAL = $(LDFLAGS) $(CFLAGS_NORMAL)
LDFLAGS_DEBUG = $(LDFLAGS) $(CFLAGS_DEBUG)
LDFLAGS_PROFILE = $(LDFLAGS) $(CFLAGS_PROFILE)
-LDFLAGS_SHARED = $(LDFLAGS) $(CFLAGS_SHARED) @LD_SHARED_OPTS@
+LDFLAGS_SHARED = $(LDFLAGS) $(CFLAGS_SHARED) -pie
LDFLAGS_DEFAULT = $(LDFLAGS_@DFT_UPR_MODEL@)
@@ -165,10 +165,10 @@ DEPS_TACK = \
$(MODEL)/tack$o
tack$x: $(DEPS_TACK) @NCURSES_TREE@$(DEPS_CURSES)
- @ECHO_LINK@ $(LINK) $(DEPS_TACK) $(LDFLAGS_DEFAULT) -o $@
+ $(LINK) $(DEPS_TACK) $(LDFLAGS_DEFAULT) -o $@
tackgen$x: $(MODEL)/tackgen$o @NCURSES_TREE@$(DEPS_CURSES)
- @ECHO_LINK@ $(LINK) $(MODEL)/tackgen$o $(LDFLAGS_DEFAULT) -o $@
+ $(LINK) $(MODEL)/tackgen$o $(LDFLAGS_DEFAULT) -o $@
tackgen.h: tackgen$x
$(SHELL) -c "if test -f $(srcdir)/../misc/shlib; then\