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
|