aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-10-31 11:35:55 +0000
committerJörg Mayer <jmayer@loplof.de>2006-10-31 11:35:55 +0000
commit63f00dfdc77887e1d636fb844bbcdf8330481bb4 (patch)
treed7d81d6a964a0264a05b2754f6f54d5d245c5c39 /tools
parent0c689e7297d830aa84bac3439a7aa8fe4df48e51 (diff)
Robert Schwebel:
Fix for http://bugs.wireshark.org/bugzilla/attachment.cgi?id=419&action=view cross compilation fails With the following change: Use only AC_CANONICAL_TARGET From the autoconf manual: The user is encouraged to use either `AC_CANONICAL_BUILD', or `AC_CANONICAL_HOST', or `AC_CANONICAL_TARGET', depending on the needs. Using `AC_CANONICAL_TARGET' is enough to run the two other macros. svn path=/trunk/; revision=19753
Diffstat (limited to 'tools')
-rw-r--r--tools/lemon/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lemon/Makefile.am b/tools/lemon/Makefile.am
index acdca29d65..d97511d066 100644
--- a/tools/lemon/Makefile.am
+++ b/tools/lemon/Makefile.am
@@ -34,8 +34,8 @@ CLEANFILES = \
MAINTAINERCLEANFILES = \
Makefile.in
-lemon_SOURCES = \
- lemon.c
+lemon: lemon.c
+ $(CC_FOR_BUILD) -D_U_="" $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $<
EXTRA_DIST = \
cppmagic.h \