Oh, LDFLAGS, right...

This commit is contained in:
Simon Forman 2023-02-08 11:55:33 -08:00
parent 2b54c0bc0a
commit 832cbe34e4
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,6 @@
OBJS=joy.o keywords.o definitions.o
# On FreeBSD gc and gmp are installed in /usr/local/:
STATIC_GCLIB=/usr/local/lib/libgc.a /usr/local/lib/libgmp.a
LDFLAGS=-L/usr/local/lib -lgc -lgmp
# 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

View File

@ -236,6 +236,7 @@ concat_lists(JoyList a, JoyList b)
{
JoyList node;
if (!a) return b;
if (!b) return a;
node = newJoyList;
node->head = a->head;
node->tail = concat_lists(a->tail, b);