summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-09 10:18:11 (GMT)
committerEric Andersen <andersen@codepoet.org>2002-01-09 10:18:11 (GMT)
commitf605da2fb6ec413fbd86e45a78f53cb2e721ab74 (patch)
treeed3cbb4371c74d24530885a902c34317419358b7 /libm/Makefile
parent066a8e2f6f4637d7239a141bd57e73c82991b690 (diff)
Be more carefull about erroring out of shell fragments. Try to
enable -falign-functions if avilable.
Diffstat (limited to 'libm/Makefile')
-rw-r--r--libm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libm/Makefile b/libm/Makefile
index 4eef46b..17f0d6f 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -85,6 +85,7 @@ endif
$(LIBM): ar-target
@if [ -f $(LIBM) ] ; then \
+ set -x -e; \
install -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBM); \
install -m 644 $(LIBM) $(TOPDIR)lib; \
@@ -92,6 +93,7 @@ $(LIBM): ar-target
shared: all
if [ -f $(LIBM) ] ; then \
+ set -x -e; \
$(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBM_SHARED_FULLNAME) \
-Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBM) -lc; \
install -d $(TOPDIR)lib; \