Commit 6a0566d2 by Alan Mishchenko

Bug fix for big-endiang architectures (plus adding -lm in Makefile).

parent b79fd69f
...@@ -72,7 +72,7 @@ endif ...@@ -72,7 +72,7 @@ endif
endif endif
# LIBS := -ldl -lrt # LIBS := -ldl -lrt
LIBS += -ldl LIBS += -ldl -lm
ifneq ($(findstring Darwin, $(shell uname)), Darwin) ifneq ($(findstring Darwin, $(shell uname)), Darwin)
LIBS += -lrt LIBS += -lrt
endif endif
......
...@@ -176,7 +176,7 @@ int Abc_NtkRetimeFinalizeLatches( Abc_Ntk_t * pNtk, st__table * tLatches, int nI ...@@ -176,7 +176,7 @@ int Abc_NtkRetimeFinalizeLatches( Abc_Ntk_t * pNtk, st__table * tLatches, int nI
{ {
// this is an old latch // this is an old latch
// get its number in the original order // get its number in the original order
if ( ! st__lookup( tLatches, (char *)pLatch, (char **)&Index ) ) if ( ! st__lookup_int( tLatches, (char *)pLatch, &Index ) )
{ {
printf( "Abc_NtkRetimeFinalizeLatches(): Internal error.\n" ); printf( "Abc_NtkRetimeFinalizeLatches(): Internal error.\n" );
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment