summaryrefslogtreecommitdiffstats
path: root/tools/mergedirs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mergedirs')
-rwxr-xr-xtools/mergedirs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mergedirs b/tools/mergedirs
index 61b092f..33bcbda 100755
--- a/tools/mergedirs
+++ b/tools/mergedirs
@@ -21,7 +21,7 @@ shift
echo "Merging system-dependent modules ($@)"
MODULES=`for a in $@ ; do
cat $SRCDIR/sysdep/config.h $SRCDIR/$a/Modules |
- $cpp -U unix -D MACROS_ONLY - |
+ $cpp -U unix -D MACROS_ONLY -I $OBJDIR - |
sed "/^[ ]*\$/d;/^#/d;s@\\(.*\\)@\\1 $a/\\1@"
done |
sort +0 -1 -u |