summaryrefslogtreecommitdiffstats
path: root/libdw/Makefile.am
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2005-11-17 03:16:00 +0000
committerRoland McGrath <[email protected]>2005-11-17 03:16:00 +0000
commite47ab76f02c2a4f4d802ec298969ba67956435fe (patch)
tree39dccb25273f15a488632c952738909f860c4b71 /libdw/Makefile.am
parentd7f8d0caa7a357f9f4765e5dc93255f5057eba2e (diff)
Update new test after merge.
Diffstat (limited to 'libdw/Makefile.am')
-rw-r--r--libdw/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdw/Makefile.am b/libdw/Makefile.am
index 6e53312e..daa807cd 100644
--- a/libdw/Makefile.am
+++ b/libdw/Makefile.am
@@ -18,6 +18,9 @@ AM_CFLAGS = -fmudflap
else
AM_CFLAGS =
endif
+if BUILD_STATIC
+AM_CFLAGS += -fpic
+endif
AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
VERSION = 1