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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
Makefile.in
-
ci-tests/test-spike
|
|
|
@ -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@ |
|
|
|
|
|
|
|
@ -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 |
|
|
|
|