Added a variant of the patch for scripts/Makefile.lib.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@835 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2009-05-10 18:04:57 +00:00
parent 603d81dde4
commit 63bc07871d
2 changed files with 11 additions and 0 deletions
@@ -0,0 +1,11 @@
--- scripts/Makefile.lib 2009-05-10 20:00:05.000000000 +0200
+++ scripts/Makefile.lib 2009-05-10 20:00:25.000000000 +0200
@@ -108,7 +108,7 @@
__cpp_flags = $(call flags,_cpp_flags)
endif
-c_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(CPPFLAGS) \
+c_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(PRE_CFLAGS) $(CPPFLAGS) \
$(__c_flags) $(modkern_cflags) \
-D"KBUILD_STR(s)=\#s" $(basename_flags) $(modname_flags)