Skip to content
Snippets Groups Projects
Commit c99539c5 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

do not omit exported CFLAGS

parent a256a776
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,10 @@ export CPU = lpc2387 ...@@ -3,9 +3,10 @@ export CPU = lpc2387
# toolchain config # toolchain config
export PREFIX = @arm-none-eabi- export PREFIX = @arm-none-eabi-
#export PREFIX = @arm-elf-
export CC = @$(PREFIX)gcc export CC = @$(PREFIX)gcc
export AR = @$(PREFIX)ar export AR = @$(PREFIX)ar
export CFLAGS = -std=gnu99 -O2 -Wall -Wstrict-prototypes -mcpu=arm7tdmi-s -gdwarf-2 export CFLAGS += -std=gnu99 -O2 -Wall -Wstrict-prototypes -mcpu=arm7tdmi-s -gdwarf-2
export ASFLAGS = -gdwarf-2 -mcpu=arm7tdmi-s export ASFLAGS = -gdwarf-2 -mcpu=arm7tdmi-s
export AS = $(PREFIX)as export AS = $(PREFIX)as
export LINK = $(PREFIX)gcc export LINK = $(PREFIX)gcc
......
...@@ -5,7 +5,7 @@ export CPU = mc1322x ...@@ -5,7 +5,7 @@ export CPU = mc1322x
export PREFIX = @arm-none-eabi- export PREFIX = @arm-none-eabi-
export CC = @$(PREFIX)gcc export CC = @$(PREFIX)gcc
export AR = @$(PREFIX)ar export AR = @$(PREFIX)ar
export CFLAGS = -std=gnu99 -march=armv4t -mtune=arm7tdmi-s -mlong-calls \ export CFLAGS += -std=gnu99 -march=armv4t -mtune=arm7tdmi-s -mlong-calls \
-msoft-float -mthumb-interwork -fno-strict-aliasing -fno-common \ -msoft-float -mthumb-interwork -fno-strict-aliasing -fno-common \
-ffixed-r8 -ffunction-sections -ffreestanding -fno-builtin \ -ffixed-r8 -ffunction-sections -ffreestanding -fno-builtin \
-nodefaultlibs -Wcast-align -Wall -Wstrict-prototypes -Wextra \ -nodefaultlibs -Wcast-align -Wall -Wstrict-prototypes -Wextra \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment