Show
Ignore:
Timestamp:
03/11/05 21:51:35 (10 years ago)
Author:
khali
Message:

Set proper compiler flags for mips, sparc32, sparc64.
Patch by Aurelien Jarno.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/Makefile

    r2893 r2928  
    214214MODCFLAGS += -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone \ 
    215215             -mcmodel=kernel -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce 
     216endif 
     217 
     218ifeq ($(MACHINE),mips) 
     219MODCFLAGS += -mabi=32 -mips3 -Wa,-32 -Wa,-mips3 -Wa,--trap 
     220endif 
     221 
     222ifeq ($(MACHINE),sparc32) 
     223MODCFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 
     224endif 
     225 
     226ifeq ($(MACHINE),sparc64) 
     227MODCFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow \ 
     228             -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare \ 
     229             -Wa,--undeclared-regs 
    216230endif 
    217231