  install-man:
  	$(INSTALL) -d "$(DESTDIR)$(MANDIR)/man1"
  	$(INSTALL) -m 644 doc/*.1 "$(DESTDIR)$(MANDIR)/man1"
-@@ -113,7 +110,7 @@
+@@ -112,7 +109,7 @@
  	rm -f "$(DESTDIR)$(INCDIR)/gif_lib.h"
  uninstall-lib:
  	cd "$(DESTDIR)$(LIBDIR)" && \

 	rm -fr doc/*.1 *.html doc/staging
 
 check: all
@@ -100,9 +98,8 @@
 install-lib:
 	$(INSTALL) -d "$(DESTDIR)$(LIBDIR)"
 	$(INSTALL) -m 644 libgif.a "$(DESTDIR)$(LIBDIR)/libgif.a"

diff -aur giflib-5.2.1.orig/Makefile giflib-5.2.1/Makefile
--- giflib-5.2.1.orig/Makefile	2019-06-24 12:08:57.000000000 -0400
+++ giflib-5.2.1/Makefile	2021-04-27 19:32:14.483330500 -0400
@@ -8,7 +8,7 @@
 #
 OFLAGS = -O0 -g
 OFLAGS  = -O2
-CFLAGS  = -std=gnu99 -fPIC -Wall -Wno-format-truncation $(OFLAGS)
+CFLAGS  = -std=gnu99 -Wall -Wno-format-truncation $(OFLAGS)
 
 SHELL = /bin/sh
 TAR = tar
@@ -61,27 +61,25 @@
 
 LDLIBS=libgif.a -lm
 
