From aecd2e5f7b0474712c0ec4f9f897219d2e07f6e2 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Tue, 28 Nov 2017 12:44:21 -0500 Subject: [PATCH] Added SWITCH define. --- graphics/simplegfx/Makefile | 2 +- templates/simple/Makefile | 2 +- usb/usbds/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/graphics/simplegfx/Makefile b/graphics/simplegfx/Makefile index b460acd..07b60f4 100644 --- a/graphics/simplegfx/Makefile +++ b/graphics/simplegfx/Makefile @@ -33,7 +33,7 @@ CFLAGS := -g -Wall -O2 \ -ffast-math \ $(ARCH) $(DEFINES) -CFLAGS += $(INCLUDE) +CFLAGS += $(INCLUDE) -DSWITCH CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11 diff --git a/templates/simple/Makefile b/templates/simple/Makefile index b460acd..07b60f4 100644 --- a/templates/simple/Makefile +++ b/templates/simple/Makefile @@ -33,7 +33,7 @@ CFLAGS := -g -Wall -O2 \ -ffast-math \ $(ARCH) $(DEFINES) -CFLAGS += $(INCLUDE) +CFLAGS += $(INCLUDE) -DSWITCH CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11 diff --git a/usb/usbds/Makefile b/usb/usbds/Makefile index b460acd..07b60f4 100644 --- a/usb/usbds/Makefile +++ b/usb/usbds/Makefile @@ -33,7 +33,7 @@ CFLAGS := -g -Wall -O2 \ -ffast-math \ $(ARCH) $(DEFINES) -CFLAGS += $(INCLUDE) +CFLAGS += $(INCLUDE) -DSWITCH CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11