diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-07-15 17:13:33 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-07-15 17:13:33 +0000 |
| commit | a22c4f08957f7cf46f35bd62ca4edee2bb9f3219 (patch) | |
| tree | e9034f3844a2dc1a2567d26c1ebe3c8407ca9493 /Projects/Magstripe | |
| parent | ad7bb3b54aa3ab29a0e1b255f76452a02f08db5b (diff) | |
Disable strict aliasing explicitly in the project makefiles, as this is apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1392 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/Magstripe')
| -rw-r--r-- | Projects/Magstripe/makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Projects/Magstripe/makefile b/Projects/Magstripe/makefile index 8342466c..d6f2bd07 100644 --- a/Projects/Magstripe/makefile +++ b/Projects/Magstripe/makefile @@ -220,10 +220,11 @@ CFLAGS += $(CDEFS) CFLAGS += -O$(OPT) CFLAGS += -funsigned-char CFLAGS += -funsigned-bitfields +CFLAGS += -ffunction-sections CFLAGS += -fno-inline-small-functions CFLAGS += -fpack-struct CFLAGS += -fshort-enums -CFLAGS += -ffunction-sections +CFLAGS += -fno-strict-aliasing CFLAGS += -Wall CFLAGS += -Wstrict-prototypes CFLAGS += -Wundef |
