Skip to content
Snippets Groups Projects
Commit b407dbed authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

Added "-fPIC" to build-flags (Closes: #759830)

since we override CFLAGS completely, we also need to
pass "-fPIC"
parent 4fa945db
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,12 @@ include /usr/share/cdbs/1/rules/utils.mk
DEB_SRCDIR=src
CFLAGS+=$(CPPFLAGS) $(shell pkg-config --cflags lua5.2 pd) -Wno-error=format-security
LIBS+=$(shell pkg-config --libs lua5.2) $(LDFLAGS)
CFLAGS+=$(CPPFLAGS) \
$(shell pkg-config --cflags lua5.2 pd) \
-fPIC \
-Wno-error=format-security
LIBS+=$(shell pkg-config --libs lua5.2) \
$(LDFLAGS)
DEB_MAKE_EXTRA_ARGS = CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" $(DEB_MAKE_PARALLEL)
test:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment