projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions.
[pub/USBasp.git]
/
Demos
/
Device
/
LowLevel
/
VirtualSerial
/
makefile
diff --git
a/Demos/Device/LowLevel/VirtualSerial/makefile
b/Demos/Device/LowLevel/VirtualSerial/makefile
index
9cfd865
..
65d8510
100644
(file)
--- a/
Demos/Device/LowLevel/VirtualSerial/makefile
+++ b/
Demos/Device/LowLevel/VirtualSerial/makefile
@@
-179,7
+179,7
@@
EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
-CSTANDARD = -std=
gnu
99
+CSTANDARD = -std=
c
99
# Place -D or -U options here for C sources
# Place -D or -U options here for C sources
@@
-210,9
+210,10
@@
CFLAGS += -O$(OPT)
CFLAGS += -funsigned-char
CFLAGS += -funsigned-bitfields
CFLAGS += -ffunction-sections
CFLAGS += -funsigned-char
CFLAGS += -funsigned-bitfields
CFLAGS += -ffunction-sections
+CFLAGS += -fno-inline-small-functions
CFLAGS += -fpack-struct
CFLAGS += -fshort-enums
CFLAGS += -fpack-struct
CFLAGS += -fshort-enums
-CFLAGS += -f
inline-limit=20
+CFLAGS += -f
no-strict-aliasing
CFLAGS += -Wall
CFLAGS += -Wstrict-prototypes
CFLAGS += -Wundef
CFLAGS += -Wall
CFLAGS += -Wstrict-prototypes
CFLAGS += -Wundef