2009-07-31 17:51:10 +00:00
|
|
|
--- fcoe-utils-1.0.8/Makefile.am.orig 2009-07-31 13:28:11.484799253 +0200
|
|
|
|
+++ fcoe-utils-1.0.8/Makefile.am 2009-07-31 13:28:38.331800646 +0200
|
|
|
|
@@ -5,7 +5,7 @@
|
2010-03-30 13:00:13 +00:00
|
|
|
sbin_PROGRAMS = fcoeadm fcoemon fcping fipvlan fcnsq fcrls
|
2009-07-31 17:51:10 +00:00
|
|
|
|
|
|
|
## all targets should look for headers in the include directory
|
2010-03-30 13:00:13 +00:00
|
|
|
-AM_CPPFLAGS = -I${srcdir}/include -I${builddir}/include
|
|
|
|
+AM_CPPFLAGS = -I${srcdir}/include -I${builddir}/include -I/lib/modules/`rpm -q --list kernel | grep "^/lib/modules/.*/build$$" | cut -f4 -d"/" | sort -r | head -1`/build/include
|
2009-07-31 17:51:10 +00:00
|
|
|
## pass the sysconfdir into the C proprocessor
|
2010-03-30 13:00:13 +00:00
|
|
|
AM_CPPFLAGS += -DSYSCONFDIR="\"${sysconfdir}\""
|
|
|
|
AM_CFLAGS = -Wall
|