Oh, LDFLAGS, right...
This commit is contained in:
parent
2b54c0bc0a
commit
832cbe34e4
|
|
@ -1,7 +1,6 @@
|
||||||
OBJS=joy.o keywords.o definitions.o
|
OBJS=joy.o keywords.o definitions.o
|
||||||
|
|
||||||
# On FreeBSD gc and gmp are installed in /usr/local/:
|
LDFLAGS=-L/usr/local/lib -lgc -lgmp
|
||||||
STATIC_GCLIB=/usr/local/lib/libgc.a /usr/local/lib/libgmp.a
|
|
||||||
|
|
||||||
# Hold my hand, in fact, hold both of them, and pat my head too please.
|
# Hold my hand, in fact, hold both of them, and pat my head too please.
|
||||||
CFLAGS = -ansi -Wall -Wextra -Werror -pedantic -Wstrict-overflow -fno-strict-aliasing -pedantic-errors
|
CFLAGS = -ansi -Wall -Wextra -Werror -pedantic -Wstrict-overflow -fno-strict-aliasing -pedantic-errors
|
||||||
|
|
|
||||||
|
|
@ -236,6 +236,7 @@ concat_lists(JoyList a, JoyList b)
|
||||||
{
|
{
|
||||||
JoyList node;
|
JoyList node;
|
||||||
if (!a) return b;
|
if (!a) return b;
|
||||||
|
if (!b) return a;
|
||||||
node = newJoyList;
|
node = newJoyList;
|
||||||
node->head = a->head;
|
node->head = a->head;
|
||||||
node->tail = concat_lists(a->tail, b);
|
node->tail = concat_lists(a->tail, b);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue