From 7932ce86bd67450bf52fe795b114c53f08e431e3 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Wed, 6 Jul 2011 02:10:01 +0000
Subject: [PATCH] Add the GCC -fno-split-wide-types compile time option to some
 of the larger user projects to reduce the compiled application size.

---
 Projects/AVRISP-MKII/makefile  | 1 +
 Projects/Webserver/makefile    | 1 +
 Projects/XPLAINBridge/makefile | 1 +
 3 files changed, 3 insertions(+)

diff --git a/Projects/AVRISP-MKII/makefile b/Projects/AVRISP-MKII/makefile
index d62decab9..0675242c0 100644
--- a/Projects/AVRISP-MKII/makefile
+++ b/Projects/AVRISP-MKII/makefile
@@ -245,6 +245,7 @@ CFLAGS += -fno-inline-small-functions
 CFLAGS += -fpack-struct
 CFLAGS += -fshort-enums
 CFLAGS += -fno-strict-aliasing
+CFLAGS += -fno-split-wide-types
 CFLAGS += -Wall
 CFLAGS += -Wstrict-prototypes
 #CFLAGS += -mshort-calls
diff --git a/Projects/Webserver/makefile b/Projects/Webserver/makefile
index 16a5e148f..175cf1f52 100644
--- a/Projects/Webserver/makefile
+++ b/Projects/Webserver/makefile
@@ -260,6 +260,7 @@ CFLAGS += -fno-inline-small-functions
 CFLAGS += -fpack-struct
 CFLAGS += -fshort-enums
 CFLAGS += -fno-strict-aliasing
+CFLAGS += -fno-split-wide-types
 CFLAGS += -Wall
 CFLAGS += -Wstrict-prototypes
 #CFLAGS += -mshort-calls
diff --git a/Projects/XPLAINBridge/makefile b/Projects/XPLAINBridge/makefile
index 0418414b1..f58d7966d 100644
--- a/Projects/XPLAINBridge/makefile
+++ b/Projects/XPLAINBridge/makefile
@@ -247,6 +247,7 @@ CFLAGS += -fno-inline-small-functions
 CFLAGS += -fpack-struct
 CFLAGS += -fshort-enums
 CFLAGS += -fno-strict-aliasing
+CFLAGS += -fno-split-wide-types
 CFLAGS += -Wall
 CFLAGS += -Wstrict-prototypes
 #CFLAGS += -mshort-calls
-- 
GitLab