diff options
author | Jan Engelhardt <jengelh@inai.de> | 2012-06-30 02:28:25 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@inai.de> | 2012-06-30 03:01:57 +0200 |
commit | 2c481c1fd73bb744957b2e5c5161c7a0804ab2e4 (patch) | |
tree | 841a723cec82fbe5f63d3dcb4276d1cc276913bc /Make_global.am | |
parent | 7bd9edfe7849d8d1bc35f9ac28e949409da0bf10 (diff) |
build: remove stray empty variable
Compilation can fail when libnfnetlink is not in a directory searched
by default. Reason is the empty KERNELDIR variable which makes for a
gcc command like:
gcc -I. -I../include -I -Wall -I/usr/include/libnfnetlink-1.0.0+git28
-Wall -c libnetfilter_queue.c
What one would expect is that gcc would search in the (non-existent)
directory "-Wall" and just continue as usual, since -Wall is specified
again. Instead, gcc versions before 4.6 attempt to search the
(similarly non-existent) directory "-I/usr/[...]" and thus miss.
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Diffstat (limited to 'Make_global.am')
-rw-r--r-- | Make_global.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Make_global.am b/Make_global.am index c16cb09..a4e9bd9 100644 --- a/Make_global.am +++ b/Make_global.am @@ -1,2 +1,2 @@ -AM_CPPFLAGS = -I${top_srcdir}/include -I${KERNELDIR} ${LIBNFNETLINK_CFLAGS} +AM_CPPFLAGS = -I${top_srcdir}/include ${LIBNFNETLINK_CFLAGS} AM_CFLAGS = -Wall |