summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-11-29 12:32:23 +1100
committerDamien Miller <djm@mindrot.org>2019-11-29 12:32:23 +1100
commitb218055e59a7c1a1816f7a55ca18e3f3c05d63a4 (patch)
tree10bc1600b9dca94071750cba7cc637158450cba7 /openbsd-compat
parent0dedb703adcd98d0dbc4479f5f312a2bd3df2850 (diff)
(yet) another x-platform fix for sk-dummy.so
Check for -fPIC support from compiler Compile libopenbsd-compat -fPIC Don't mix -fPIE and -fPIC when compiling
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/Makefile.in b/openbsd-compat/Makefile.in
index 94fb0a55e..c2423324e 100644
--- a/openbsd-compat/Makefile.in
+++ b/openbsd-compat/Makefile.in
@@ -7,7 +7,9 @@ VPATH=@srcdir@
7CC=@CC@ 7CC=@CC@
8LD=@LD@ 8LD=@LD@
9CFLAGS=@CFLAGS@ 9CFLAGS=@CFLAGS@
10CFLAGS_NOPIE=@CFLAGS_NOPIE@
10CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@ 11CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
12PICFLAG=@PICFLAG@
11LIBS=@LIBS@ 13LIBS=@LIBS@
12AR=@AR@ 14AR=@AR@
13RANLIB=@RANLIB@ 15RANLIB=@RANLIB@
@@ -97,7 +99,7 @@ PORTS= port-aix.o \
97 port-uw.o 99 port-uw.o
98 100
99.c.o: 101.c.o:
100 $(CC) $(CFLAGS) $(CPPFLAGS) -c $< 102 $(CC) $(CFLAGS_NOPIE) $(PICFLAG) $(CPPFLAGS) -c $<
101 103
102all: libopenbsd-compat.a 104all: libopenbsd-compat.a
103 105