aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/Makefile.nmake
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dfilter/Makefile.nmake')
-rw-r--r--epan/dfilter/Makefile.nmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/epan/dfilter/Makefile.nmake b/epan/dfilter/Makefile.nmake
index 1a7b7f0154..3045e2e6b0 100644
--- a/epan/dfilter/Makefile.nmake
+++ b/epan/dfilter/Makefile.nmake
@@ -9,12 +9,16 @@ include Makefile.common
LEMON=..\..\tools\lemon
-CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
+# We GENERATED_CFLAGS to get around flex's non-LLP64-compliant output
+GENERATED_CFLAGS=\
+ $(STANDARD_CFLAGS) \
/I. /I.. /I..\.. $(GLIB_CFLAGS) \
/I$(LEMON) \
/I$(PCAP_DIR)\include \
-DWS_BUILD_DLL
+CFLAGS=$(WARNINGS_ARE_ERRORS) $(GENERATED_CFLAGS)
+
.c.obj::
$(CC) $(CFLAGS) -Fd.\ -c $<
@@ -58,7 +62,7 @@ RUNLEX=../../tools/runlex.sh
scanner_lex.h : scanner.c
scanner.obj : scanner.c grammar.h
- $(CC) $(CFLAGS) -Fd.\ -c scanner.c
+ $(CC) $(GENERATED_CFLAGS) -Fd.\ -c scanner.c
scanner.c: grammar.h