summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'frontends')
-rw-r--r--frontends/amiga/Makefile6
-rwxr-xr-xfrontends/amiga/memory.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/frontends/amiga/Makefile b/frontends/amiga/Makefile
index 6b680727f..ca94d88f0 100644
--- a/frontends/amiga/Makefile
+++ b/frontends/amiga/Makefile
@@ -7,7 +7,7 @@ CFLAGS += -std=c99 -Dnsamiga
ifneq ($(SUBTARGET),os3)
CFLAGS += -O2 -mstrict-align -finline-functions -U__STRICT_ANSI__ -D__USE_INLINE__ -D__USE_BASETYPE__
else
- CFLAGS += -O2 -DPATH_MAX=1024 -D__m68k__ -m68020
+ CFLAGS += -O2 -DPATH_MAX=1024 -D__m68k__ -m68020 -D__MEM_DEBUG
endif
$(eval $(call feature_enabled,AMIGA_ICON,-DWITH_AMIGA_ICON,,Amiga icon))
@@ -21,14 +21,14 @@ LDFLAGS += $(shell $(PKG_CONFIG) --static --libs libcurl)
LDFLAGS += $(shell $(PKG_CONFIG) --libs tre)
LDFLAGS += -L$(GCCSDK_INSTALL_ENV)/lib
-LDFLAGS += -lpbl -liconv -ldebug
+LDFLAGS += -lpbl -liconv
ifeq ($(NETSURF_USE_OPENSSL),YES)
LDFLAGS += $(shell $(PKG_CONFIG) --static --libs openssl)
endif
ifeq ($(SUBTARGET),os3)
- LDFLAGS += -lamiga -lm
+ LDFLAGS += -lamiga -lm -ldebug
endif
COMMON_WARNFLAGS += -Wno-cast-align
diff --git a/frontends/amiga/memory.c b/frontends/amiga/memory.c
index be7483808..2e53c6842 100755
--- a/frontends/amiga/memory.c
+++ b/frontends/amiga/memory.c
@@ -167,7 +167,7 @@ struct Interrupt *ami_memory_init(void)
struct Interrupt *memhandler = malloc(sizeof(struct Interrupt));
if(memhandler == NULL) return NULL; // we're screwed
- kprintf("init");
+ kprintf("netsurf init");
memhandler->is_Node.ln_Pri = -127; // low down as will be slow
memhandler->is_Node.ln_Name = "NetSurf low memory handler";