From 033676b9e74af96d76ac2dcfd3da61d633316591 Mon Sep 17 00:00:00 2001 From: theraven Date: Tue, 14 Sep 2010 16:02:29 +0000 Subject: [PATCH] Enable type-dependent dispatch by default. Stack corruption is bad, m'kay? --- GNUmakefile | 2 +- Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 1aa1a1d..fd998a8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -55,7 +55,7 @@ libobjc_HEADER_FILES = \ objc-api.h endif -ifeq ($(tdd), yes) +ifneq ($(tdd), no) libobjc_CPPFLAGS += -DTYPE_DEPENDENT_DISPATCH endif diff --git a/Makefile b/Makefile index 8bf86ad..8a4ffcb 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ VERSION = 4 #CC=clang CFLAGS += -std=c99 +CPPFLAGS += -DTYPE_DEPENDENT_DISPATCH #LIB_DIR=/usr/local/GNUstep/Local/Library/Libraries/ #HEADER_DIR=/usr/local/GNUstep/Local/Library/Headers