Changeset 3970

Show
Ignore:
Timestamp:
03/19/05 12:10:34 (9 years ago)
Author:
khali
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/Makefile

    r3967 r3970  
    132132# The -DEXPORT_SYMTAB is to keep the symbol export mechanism quiet. 
    133133MODCFLAGS := $(CFLAGS) -D__KERNEL__ -DMODULE -fomit-frame-pointer \ 
    134              -DEXPORT_SYMTAB 
     134             -DEXPORT_SYMTAB -fno-strict-aliasing 
    135135 
    136136ifeq ($(MACHINE),alpha) 
     
    139139 
    140140ifeq ($(MACHINE),x86_64) 
    141 MODCFLAGS += -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone \ 
     141MODCFLAGS += -fno-common -fomit-frame-pointer -mno-red-zone \ 
    142142             -mcmodel=kernel -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce 
    143143endif