Skip to content

Commit

Permalink
CXXFLAGS for C++ flags
Browse files Browse the repository at this point in the history
  • Loading branch information
kammoh authored and themperek committed Dec 23, 2020
1 parent 7b3653f commit 3ed5aac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
sudo apt-get install git make autoconf g++ flex bison # First time prerequisites
sudo apt-get install libfl2 # Ubuntu only (ignore if gives error)
sudo apt-get install libfl-dev # Ubuntu only (ignore if gives error)
git clone http://git.veripool.org/git/verilator --depth=1
git clone http://git.veripool.org/git/verilator -b v4.106 --depth=1
cd verilator && autoconf && ./configure && make -j2 && sudo make install && cd ..
displayName: Compile and Install Verilator on Linux
condition: and( eq( variables['Agent.OS'], 'Linux' ), eq(variables['SIM'], 'verilator'))
Expand Down
2 changes: 1 addition & 1 deletion cocotb_test/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ def __init__(self, *argv, **kwargs):
if self.vhdl_sources:
raise ValueError("This simulator does not support VHDL")

self.env['CPPFLAGS'] = self.env.get('CPPFLAGS', "") + " -std=c++11"
self.env['CXXFLAGS'] = self.env.get('CXXFLAGS', "") + " -std=c++11"

def get_include_commands(self, includes):
include_cmd = []
Expand Down

0 comments on commit 3ed5aac

Please sign in to comment.