Commit 2d188bca authored by Sebastian Ramacher's avatar Sebastian Ramacher

Link with -fPIC

Signed-off-by: default avatarSebastian Ramacher <sebastian@ramacher.at>
parent 05fbbf83
......@@ -37,9 +37,12 @@ MUPDF_LIB ?= -lmupdf -lmujs
INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC}
LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -lopenjp2 -ljpeg
# flags
# compiler flags
CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
# linker flags
LDFLAGS += -fPIC
# debug
DFLAGS ?= -g
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment