diff options
author | Andrew Waterman <andrew@sifive.com> | 2022-09-22 16:59:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 16:59:57 -0700 |
commit | 2a7c33b8b50f91379a12f983dd3c1c7ee9f89a90 (patch) | |
tree | eb572078a334548762ac32ac6caa57139bda7910 | |
parent | 7c4cf010a10a1ea5ab18e8d65ab9e56a4f8b767e (diff) | |
parent | 7cf82d72f10352ae05755159996e5ce52e9aed77 (diff) | |
download | riscv-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.in | 2 | ||||
-rwxr-xr-x | ci-tests/test-spike | 2 |
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 |