Skip to content
  • Vineet Gupta's avatar
    ARC: [build] silence make defconfig warnings with host gcc 4.7 · af4c3ae3
    Vineet Gupta authored
    
    
    We do cross compiles for ARC Linux.
    With gcc 4.7, a make defconfig spews out the following:
    
    ------------------->8--------------------------
    make ARCH=arc defconfig
    gcc: error: unrecognized command line option '-marc600'
    gcc: error: unrecognized command line option '-mA7'
    gcc: error: unrecognized command line option '-mno-sdata'
    gcc: error: unrecognized command line option '-mno-mpy'
    *** Default configuration is based on 'fpga_defconfig'
    ------------------->8--------------------------
    
    This apparently is coming from LIBGCC line - which is strange to be
    invoked for defconfig generation.
    
    Reported-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    af4c3ae3