File: fPIC.patch

package info (click to toggle)
htslib 1.21%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,940 kB
  • sloc: ansic: 68,108; sh: 3,580; perl: 2,021; makefile: 887; cpp: 40
file content (16 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Build with -fPIC instead of -fpic
 It doesn't make a difference on x86, but is required for
 linking the library on s390x and sparc64.
Author: Adrian Bunk <bunk@debian.org>

--- htslib.orig/Makefile
+++ htslib/Makefile
@@ -36,7 +36,7 @@
 # For testing strict C99 support add -std=c99 -D_XOPEN_SOURCE=600
 #CFLAGS   = -g -Wall -O2 -pedantic -std=c99 -D_XOPEN_SOURCE=600
 CFLAGS   = -g -Wall -O2 -fvisibility=hidden
-EXTRA_CFLAGS_PIC = -fpic
+EXTRA_CFLAGS_PIC = -fPIC
 TARGET_CFLAGS =
 LDFLAGS  = -fvisibility=hidden
 VERSION_SCRIPT_LDFLAGS = -Wl,-version-script,$(srcprefix)htslib.map