Restore -lm
This commit is contained in:
parent
ea75918df1
commit
4be59c3e03
1 changed files with 6 additions and 12 deletions
|
@ -13,16 +13,10 @@
|
|||
# echo "int __dummy__;" > $@
|
||||
#
|
||||
|
||||
# Makefile for lib/dummy.
|
||||
all: ../libm.a
|
||||
|
||||
# Make a dummy libm library so that -lm works.
|
||||
|
||||
|
||||
LIBRARIES=libm
|
||||
|
||||
libm_OBJECTS=dummy.o
|
||||
|
||||
include ../Makefile.inc
|
||||
|
||||
dummy.c:
|
||||
echo "int __dummy__;" > $@
|
||||
../libm.a:
|
||||
echo "int __dummy__;" >dummy.c
|
||||
$(CC) -c dummy.c
|
||||
aal cr $@ dummy.o
|
||||
rm dummy.?
|
||||
|
|
Loading…
Reference in a new issue