From 9fdc77a1088f805429d9738cfc298f1ccf44127b Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Tue, 7 Aug 2018 20:47:56 -0700 Subject: [PATCH] Add -fPIC to CFLAGS It's needed for "make shared". Not needed (or desired) for static libs, but it's nearly harmless. --- nufxlib/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nufxlib/Makefile.in b/nufxlib/Makefile.in index 66c2ae4..cf5d15d 100644 --- a/nufxlib/Makefile.in +++ b/nufxlib/Makefile.in @@ -34,7 +34,7 @@ OPT = @CFLAGS@ #OPT = @CFLAGS@ -DDEBUG_MSGS #OPT = @CFLAGS@ -DDEBUG_VERBOSE GCC_FLAGS = -Wall -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wshadow -CFLAGS = @BUILD_FLAGS@ -I. @DEFS@ -DOPTFLAGSTR="\"$(OPT)\"" +CFLAGS = @BUILD_FLAGS@ -I. @DEFS@ -fPIC -DOPTFLAGSTR="\"$(OPT)\"" SRCS = Archive.c ArchiveIO.c Bzip2.c Charset.c Compress.c Crc16.c \ Debug.c Deferred.c Deflate.c Entry.c Expand.c FileIO.c Funnel.c \