Updates for the OFED 1.5 + kernel 2.6.30 combination.
[mirror/scst/.git] / srpt / patches / kernel-2.6.18-pre-cflags.patch
1 --- scripts/Makefile.lib        2009-05-10 20:00:05.000000000 +0200
2 +++ scripts/Makefile.lib        2009-05-10 20:00:25.000000000 +0200
3 @@ -108,7 +108,7 @@
4  __cpp_flags     =                          $(call flags,_cpp_flags)
5  endif
6  
7 -c_flags        = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(CPPFLAGS) \
8 +c_flags        = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(PRE_CFLAGS) $(CPPFLAGS) \
9                  $(__c_flags) $(modkern_cflags) \
10                  -D"KBUILD_STR(s)=\#s" $(basename_flags) $(modname_flags)
11