Browse Source

Merge pull request #1088 from riscv-software-src/werror

Run CI with -Werror
pull/1094/head
Andrew Waterman 4 years ago
committed by GitHub
parent
commit
2a7c33b8b5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Makefile.in
  2. 2
      ci-tests/test-spike

2
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@

2
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

Loading…
Cancel
Save