summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
Diffstat (limited to 'libm')
-rw-r--r--libm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/Makefile b/libm/Makefile
index bd4c04adf..28f672f9f 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -93,8 +93,8 @@ $(LIBM): ar-target
shared: all
if [ -f $(LIBM) ] ; then \
$(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBM_SHARED_FULLNAME) \
- -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBM) \
- -Wl,--no-undefined -Wl,--allow-shlib-undefined -lc; \
+ -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive \
+ $(LIBM) -Wl,--no-undefined -lc; \
install -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \
install -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \