diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-23 20:35:12 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-23 20:35:12 +0000 |
commit | 730b60ea3445a0495f6fafd122742eb9e46c0bfa (patch) | |
tree | 85b45e24423379384579c05887e31631877f4afa /libm/powerpc/Makefile.arch | |
parent | cff695fb4c59ce0cb7bb1724e3c6eafa5906957d (diff) |
Build PIC objects if DOPIC is set, thx to pcj
Diffstat (limited to 'libm/powerpc/Makefile.arch')
-rw-r--r-- | libm/powerpc/Makefile.arch | 4 |
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) |