summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-12-04 15:11:17 (GMT)
committer Chris Young <chris@unsatisfactorysoftware.co.uk>2016-12-04 15:11:17 (GMT)
commit840669851fb94e0c9ff60af00277f0d660f7e0c0 (patch)
tree6da0b39af4b2a9f8b00a19cb73b30009882a44b9
parent54e31b65d14dd1e228106eae0c60ab42802a97ed (diff)
downloadnetsurf-840669851fb94e0c9ff60af00277f0d660f7e0c0.tar.gz
netsurf-840669851fb94e0c9ff60af00277f0d660f7e0c0.tar.bz2
Enable clib2 debug to work
-rw-r--r--frontends/amiga/Makefile2
-rwxr-xr-xfrontends/amiga/memory.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/frontends/amiga/Makefile b/frontends/amiga/Makefile
index ea6e8fe..b539735 100644
--- a/frontends/amiga/Makefile
+++ b/frontends/amiga/Makefile
@@ -20,7 +20,7 @@ LDFLAGS += $(shell $(PKG_CONFIG) --static --libs libcurl openssl)
LDFLAGS += $(shell $(PKG_CONFIG) --libs tre)
LDFLAGS += -L$(GCCSDK_INSTALL_ENV)/lib
-LDFLAGS += -lpbl -liconv
+LDFLAGS += -lpbl -liconv -ldebug
ifeq ($(SUBTARGET),os3)
LDFLAGS += -lamiga -lm
diff --git a/frontends/amiga/memory.c b/frontends/amiga/memory.c
index d371d25..b52997f 100755
--- a/frontends/amiga/memory.c
+++ b/frontends/amiga/memory.c
@@ -148,6 +148,8 @@ struct Interrupt *ami_memory_init(void)
struct Interrupt *memhandler = malloc(sizeof(struct Interrupt));
if(memhandler == NULL) return NULL; // we're screwed
+ kprintf("init");
+
memhandler->is_Node.ln_Pri = -127; // low down as will be slow
memhandler->is_Node.ln_Name = "NetSurf low memory handler";
memhandler->is_Data = NULL;