Changeset 2935

Show
Ignore:
Timestamp:
03/19/05 12:18:17 (4 years ago)
Author:
khali
Message:

Compile kernel modules with -fno-strict-aliasing on all
architectures. This prevents warnings in kernel header files.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/Makefile

    r2928 r2935  
    205205 
    206206MODCPPFLAGS := 
    207 MODCFLAGS := 
     207MODCFLAGS := -fno-strict-aliasing 
    208208 
    209209ifeq ($(MACHINE),alpha) 
     
    212212 
    213213ifeq ($(MACHINE),x86_64) 
    214 MODCFLAGS += -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone \ 
     214MODCFLAGS += -fno-common -fomit-frame-pointer -mno-red-zone \ 
    215215             -mcmodel=kernel -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce 
    216216endif