From 8292756e908fa5a53ef06a6261b398c6a3ad08d9 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 5 Dec 2016 18:34:45 +0000 Subject: Enable __MEM_DEBUG in clib2 --- .../recipes/patches/clib2/clib2.GNUmakefile.68k.p | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'm68k-unknown-amigaos/recipes/patches/clib2/clib2.GNUmakefile.68k.p') diff --git a/m68k-unknown-amigaos/recipes/patches/clib2/clib2.GNUmakefile.68k.p b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.GNUmakefile.68k.p index 09bd9d8..e1c6efc 100644 --- a/m68k-unknown-amigaos/recipes/patches/clib2/clib2.GNUmakefile.68k.p +++ b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.GNUmakefile.68k.p @@ -1,5 +1,5 @@ ---- GNUmakefile.68k 2016-11-18 16:22:21.000000000 +0000 -+++ GNUmakefile.68k 2016-11-18 23:25:54.801998101 +0000 +--- GNUmakefile.68k 2016-11-27 14:53:40.000000000 +0000 ++++ GNUmakefile.68k 2016-12-05 18:33:20.094019332 +0000 @@ -24,9 +24,9 @@ MAKE = $(MAKE_COMMAND) -f GNUmakefile.68 # override certain things for non-native builds @@ -13,7 +13,19 @@ COPY = cp DELETE = rm -rf MAKEDIR = mkdir -p -@@ -533,6 +532,7 @@ UNIX_LIB = \ +@@ -123,9 +123,9 @@ WARNINGS = \ + + INCLUDES = -Iinclude -I. -Inetinclude + #OPTIONS = -fno-builtin -fno-common -DDEBUG +- OPTIONS = -fno-builtin -fno-common -DNDEBUG ++#OPTIONS = -fno-builtin -fno-common -DNDEBUG + #OPTIONS = -fno-builtin -fno-common -DNDEBUG -D__THREAD_SAFE +-#OPTIONS = -fno-builtin -fno-common -D__MEM_DEBUG ++OPTIONS = -fno-builtin -fno-common -D__MEM_DEBUG + #OPTIONS = -fno-builtin -fno-common -DDEBUG -D__MEM_DEBUG -DNO_INLINE_STDARG + #OPTIMIZE = -O3 -fomit-frame-pointer -funroll-loops -finline-functions + OPTIMIZE = -O -fomit-frame-pointer -fstrength-reduce -finline-functions +@@ -537,6 +537,7 @@ UNIX_LIB = \ stdlib_realloc.o \ stdlib_resetmemstats.o \ stdlib_system.o \ @@ -21,7 +33,7 @@ systeminfo_sysinfo.o \ termios_cfgetispeed.o \ termios_cfgetospeed.o \ -@@ -982,10 +982,10 @@ all: \ +@@ -986,10 +987,10 @@ all: \ lib/n32bcrt0.o \ lib/n32rcrt0.o \ lib/libm020/libm.a \ -- cgit v1.2.3