From: fennecdjay Date: Wed, 20 Nov 2019 16:35:53 +0000 (+0100) Subject: :art: Update X-Git-Tag: nightly~2095 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=d1d8d3fa0434f8e9338fe829331d10fb965f4fcc;p=gwion.git :art: Update --- 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) {