Cortex A15: temporarily remove -mcpu switch again

Make compiler stop complaining about every compilation unit.

Fixes #810.
This commit is contained in:
Stefan Kalkowski 2013-07-16 11:21:51 +02:00 committed by Christian Helmuth
parent dae8ca2952
commit a341f744ce
1 changed files with 11 additions and 1 deletions

View File

@ -10,7 +10,17 @@ SPECS += arm_v7a
# add repository relative include paths
REP_INC_DIR += include/cortex_a15
CC_OPT += -mcpu=cortex-a15
#
# GCC versions up to 4.7.3 complain about conflicting command-line switches:
#
# warning: switch -mcpu=cortex-a15 conflicts with -march=armv7-a switch [enabled by default]
#
# Therefore, do not specify the actual CPU and stay with just the architecture
# for now.
#
# Reference: https://github.com/genodelabs/genode/issues/810
#
#CC_OPT += -mcpu=cortex-a15
# include implied specs
include $(call select_from_repositories,mk/spec-arm_v7a.mk)