Skip to content

Commit

Permalink
core: gcc 7 ready
Browse files Browse the repository at this point in the history
Remove the armv7 compiler option -mno-apcs-float as it's not supported
by gcc 7. -apcs-float has be default disabled since at least gcc 4.8.

Signed-off-by: Jens Wiklander <[email protected]>
  • Loading branch information
jenswi-linaro committed Jul 14, 2017
1 parent df837e2 commit 63d774d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/arch/arm/arm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ arm32-platform-cppflags += -DARM32=1 -D__ILP32__=1
platform-cflags-generic ?= -g -ffunction-sections -fdata-sections -pipe
platform-aflags-generic ?= -g -pipe

arm32-platform-cflags-no-hard-float ?= -mno-apcs-float -mfloat-abi=soft
arm32-platform-cflags-no-hard-float ?= -mfloat-abi=soft
arm32-platform-cflags-hard-float ?= -mfloat-abi=hard -funsafe-math-optimizations
arm32-platform-cflags-generic ?= -mthumb -mthumb-interwork \
-fno-short-enums -fno-common -mno-unaligned-access
Expand Down

0 comments on commit 63d774d

Please sign in to comment.