aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2022-09-22 16:59:57 -0700
committerGitHub <noreply@github.com>2022-09-22 16:59:57 -0700
commit2a7c33b8b50f91379a12f983dd3c1c7ee9f89a90 (patch)
treeeb572078a334548762ac32ac6caa57139bda7910
parent7c4cf010a10a1ea5ab18e8d65ab9e56a4f8b767e (diff)
parent7cf82d72f10352ae05755159996e5ce52e9aed77 (diff)
downloadriscv-isa-sim-2a7c33b8b50f91379a12f983dd3c1c7ee9f89a90.zip
riscv-isa-sim-2a7c33b8b50f91379a12f983dd3c1c7ee9f89a90.tar.gz
riscv-isa-sim-2a7c33b8b50f91379a12f983dd3c1c7ee9f89a90.tar.bz2
Merge pull request #1088 from riscv-software-src/werror
Run CI with -Werror
-rw-r--r--Makefile.in2
-rwxr-xr-xci-tests/test-spike2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index d4cb83e..41bc5e1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -98,7 +98,7 @@ default-CXXFLAGS := $(default-CFLAGS) -std=c++17
mcppbs-CPPFLAGS := @CPPFLAGS@
mcppbs-CFLAGS := $(default-CFLAGS) @CFLAGS@
-mcppbs-CXXFLAGS := $(default-CXXFLAGS) @CXXFLAGS@
+mcppbs-CXXFLAGS := $(mcppbs-CFLAGS) $(default-CXXFLAGS) @CXXFLAGS@
CC := @CC@
CXX := @CXX@
diff --git a/ci-tests/test-spike b/ci-tests/test-spike
index 3d5ed6d..94ae321 100755
--- a/ci-tests/test-spike
+++ b/ci-tests/test-spike
@@ -6,6 +6,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
mkdir build
cd build
mkdir install
-$DIR/../configure --prefix=`pwd`/install
+CFLAGS="-Werror" $DIR/../configure --prefix=`pwd`/install
make -j4
make install