diff options
| author | stijn | 2014-10-29 10:05:55 +0100 |
|---|---|---|
| committer | stijn | 2014-10-29 10:29:09 +0100 |
| commit | 4e54c876a7236cbb50431f1f6d52c7be2052ed6f (patch) | |
| tree | 7b7cbdab7ca37c3adb14c85dc8cb6e020ed5c1ac /qemu-arm | |
| parent | ccedf000ed7e3a155f84ad60afb86ca5f953fe8c (diff) | |
Add -Wpointer-arith flag to prevent problems with pointer arithmetic on void*
Diffstat (limited to 'qemu-arm')
| -rw-r--r-- | qemu-arm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-arm/Makefile b/qemu-arm/Makefile index 03cc7db9e..900538080 100644 --- a/qemu-arm/Makefile +++ b/qemu-arm/Makefile @@ -14,7 +14,7 @@ INC += -I$(PY_SRC) INC += -I$(BUILD) CFLAGS_CORTEX_M3 = -mthumb -mcpu=cortex-m3 -CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 $(CFLAGS_CORTEX_M3) $(COPT) \ +CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 $(CFLAGS_CORTEX_M3) $(COPT) \ -flto -ffunction-sections -fdata-sections #Debugging/Optimization |
