File: fPIC.patch

package info (click to toggle)
htslib 1.22.1%2Bds2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,304 kB
  • sloc: ansic: 74,360; perl: 2,205; makefile: 948; sh: 408; cpp: 40
file content (16 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (3)
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