From d1d8d3fa0434f8e9338fe829331d10fb965f4fcc Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 20 Nov 2019 17:35:53 +0100 Subject: [PATCH] :art: Update --- Makefile | 2 +- src/compile.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 883f6ae1..8fc24b79 100644 --- a/Makefile +++ b/Makefile @@ -39,9 +39,9 @@ CFLAGS += -Iinclude ifeq (${BUILD_ON_WINDOWS}, 1) ifeq (${CC}, gcc) LDFLAGS += -lm -LDFLAGS += -lrt -rdynamic endif else +LDFLAGS += -lrt -rdynamic LDFLAGS += -lm endif diff --git a/src/compile.c b/src/compile.c index 4f621c9d..a6fcbec4 100644 --- a/src/compile.c +++ b/src/compile.c @@ -81,7 +81,6 @@ static inline m_bool compiler_open(MemPool p, struct Compiler* c) { static inline m_bool _check(struct Gwion_* gwion, struct Compiler* c) { struct ScannerArg_ arg = { c->name, c->file, gwion->st, .ppa=gwion->ppa }; -// struct ScannerArg_ arg = { c->name, c->file, gwion->st, .ppa={} }; CHECK_OB((c->ast = parse(&arg))) gwion->env->name = c->name; for(m_uint i = 0; i < vector_size(&gwion->data->passes->vec); ++i) { -- 2.43.0