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__;" > $@
|
# echo "int __dummy__;" > $@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Makefile for lib/dummy.
|
all: ../libm.a
|
||||||
|
|
||||||
# Make a dummy libm library so that -lm works.
|
../libm.a:
|
||||||
|
echo "int __dummy__;" >dummy.c
|
||||||
|
$(CC) -c dummy.c
|
||||||
LIBRARIES=libm
|
aal cr $@ dummy.o
|
||||||
|
rm dummy.?
|
||||||
libm_OBJECTS=dummy.o
|
|
||||||
|
|
||||||
include ../Makefile.inc
|
|
||||||
|
|
||||||
dummy.c:
|
|
||||||
echo "int __dummy__;" > $@
|
|
||||||
|
|
Loading…
Reference in a new issue