Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions vp_models.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ VP_COMP_DBG_LDFLAGS=-lpulpvp-debug
VP_COMP_CFLAGS += -Werror -Wfatal-errors
VP_COMP_LDFLAGS += -Werror -Wfatal-errors

# This workaround disables the -Werror for detected null pointer dereferences.
# This is only necessary in the case of a buggy detection where
# invalid warnings are issued that result in a fatal build error.
VP_COMP_CFLAGS += -Wno-error=nonnull
VP_COMP_CPPFLAGS += -Wno-error=nonnull
VP_COMP_LDFLAGS += -Wno-error=nonnull

ifdef VP_USE_SYSTEMC
VP_COMP_CFLAGS += -D__VP_USE_SYSTEMC -I$(SYSTEMC_HOME)/include
ifdef VP_USE_SYSTEMC_DRAMSYS
Expand Down