<short summary of the patch>
authorCamm Maguire <camm@debian.org>
Sun, 13 Nov 2022 12:55:14 +0000 (12:55 +0000)
committerCamm Maguire <camm@debian.org>
Sun, 13 Nov 2022 12:55:14 +0000 (12:55 +0000)
Bug-Debian: https://bugs.debian.org/822820
Bug-Debian: https://bugs.debian.org/837481

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

gcl (2.6.12-42) unstable; urgency=medium

  * pathnames1.6
  * Bug fix: "FTBFS with bindnow and PIE enabled", thanks to Balint Reczey
    (Closes: #837481).
  * Bug fix: "FTBFS with compilers that default to -fPIE (patch
    attached)", thanks to Adam Conrad (Closes: #822820).

Gbp-Pq: Name pathnames1.6

o/makefile

index 57db00ea508d9b54793fcd858dc01f04afa3b74c..f032e9cd6f746f8928ecf2b3e4bc460c0bb13bb4 100644 (file)
@@ -34,7 +34,7 @@ boot.o: boot.c $(DECL) boot.h
        $(CC) -c $(CFLAGS) $(DEFS) -fPIC $*.c $(AUX_INFO) 
 
 prelink.o: prelink.c $(DECL)
-       $(CC) -fPIE -c $(filter-out -pg,$(CFLAGS)) $(DEFS) $*.c $(AUX_INFO)
+       $(CC) -c $(filter-out -pg,$(CFLAGS)) -fPIE $(DEFS) $*.c $(AUX_INFO)
 
 %.o: %.c $(DECL)
        $(CC) -c $(CFLAGS) $(DEFS) $*.c $(AUX_INFO)