summaryrefslogtreecommitdiff
path: root/Make.Rules.in
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2003-07-13 19:16:34 +0000
committerSteve Langasek <vorlon@debian.org>2003-07-13 19:16:34 +0000
commite47f603bff623f42e49f56386f9c9640389edb44 (patch)
treeb313be5d856a5c1649c808e25d4420e43a3c077e /Make.Rules.in
parent2f36c829822a4b016ba075575c720ad9cb3c6463 (diff)
Relevant BUGIDs: 643360
Purpose of commit: bugfix Commit summary: --------------- Use the value of $(PIC) whenever we're compiling dynamic libs/modules; this is required on most architectures.
Diffstat (limited to 'Make.Rules.in')
-rw-r--r--Make.Rules.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Make.Rules.in b/Make.Rules.in
index e42c965b..2aab9bf9 100644
--- a/Make.Rules.in
+++ b/Make.Rules.in
@@ -109,3 +109,7 @@ STRIP=@STRIP@
CC_STATIC=@CC_STATIC@
LINKLIBS = $(NEED_LINK_LIB_C) $(LIBDL)
+
+ifdef DYNAMIC
+CFLAGS += $(PIC)
+endif