summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-23 20:35:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-23 20:35:12 +0000
commit730b60ea3445a0495f6fafd122742eb9e46c0bfa (patch)
tree85b45e24423379384579c05887e31631877f4afa /libm
parentcff695fb4c59ce0cb7bb1724e3c6eafa5906957d (diff)
Build PIC objects if DOPIC is set, thx to pcj
Diffstat (limited to 'libm')
-rw-r--r--libm/powerpc/Makefile.arch4
1 files changed, 4 insertions, 0 deletions
diff --git a/libm/powerpc/Makefile.arch b/libm/powerpc/Makefile.arch
index c6d39676a..7eb68bb59 100644
--- a/libm/powerpc/Makefile.arch
+++ b/libm/powerpc/Makefile.arch
@@ -13,7 +13,11 @@ libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_
libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
+ifeq ($(DOPIC),y)
+libm-a-$(DO_C99_MATH)+=$(libm_ARCH_OBJS:.o=.os)
+else
libm-a-$(DO_C99_MATH)+=$(libm_ARCH_OBJS)
+endif
libm-so-$(DO_C99_MATH)+=$(libm_ARCH_OBJS:.o=.os)
libm-multi-$(DO_C99_MATH)+=$(libm_ARCH_SRC)