summaryrefslogtreecommitdiff
path: root/libm/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'libm/powerpc')
-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)