From 038ee69a96e7be4c46e4c63c5cd5a638edf2dcd4 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 2 Nov 2006 19:13:07 +0000 Subject: [PATCH] Add M32 make variable git-svn-id: file://localhost/svn/verilator/trunk/verilator@831 77ca24e4-aefa-0310-84f0-b9a241c72d87 --- Changes | 2 ++ include/verilated.mk.in | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Changes b/Changes index 045de1f7e..921647530 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,8 @@ indicates the contributor was also the author of the fix; Thanks! **** Fix $signed mis-extending when input has a WIDTH violation. [Eugene Weber] +**** Add M32 make variable to support -m32 compiles. [Eugene Weber] + * Verilator 3.622 10/17/2006 Stable **** Fix --skip-identical without --debug, broken in 3.621. [Andy Meier] diff --git a/include/verilated.mk.in b/include/verilated.mk.in index 716889335..58d634efa 100644 --- a/include/verilated.mk.in +++ b/include/verilated.mk.in @@ -48,6 +48,9 @@ VPATH += $(VERILATOR_ROOT)/include #OPT = -ggdb -DPRINTINITSTR CPPFLAGS += $(OPT) +CPPFLAGS += $(M32) +LDFLAGS += $(M32) + # See the benchmarking section of bin/verilator. # Support class optimizations. This includes the tracing and symbol table. # SystemC takes minutes to optimize, thus it is off by default.