Skip to content
Snippets Groups Projects
Commit 11d10e4f authored by Sören Tempel's avatar Sören Tempel Committed by Sören Tempel
Browse files

community/systemc: support use with C++17

parent aa8892cf
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38802community/systemc: support use with c++17
Pipeline #135784 canceled
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=systemc pkgname=systemc
pkgver=2.3.3 pkgver=2.3.3
pkgrel=1 pkgrel=2
pkgdesc="C++ library for modeling and describing complex hardware systems" pkgdesc="C++ library for modeling and describing complex hardware systems"
url="https://www.accellera.org/downloads/standards/systemc" url="https://www.accellera.org/downloads/standards/systemc"
arch="x86 x86_64" # upstream only supports x86* arch="x86 x86_64" # upstream only supports x86*
...@@ -17,7 +17,10 @@ prepare() { ...@@ -17,7 +17,10 @@ prepare() {
} }
build() { build() {
../configure \ # Support usage of SystemC with software using C++17.
# C++17 is the present default for our GNU compiler toolchain.
# See https://github.com/accellera-official/systemc/blob/2.3.4_pub_rev_20190614/INSTALL.md#preprocessor-switches
../configure CXXFLAGS="$CXXFLAGS -DSC_CPLUSPLUS=201703L" \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
--prefix=/usr \ --prefix=/usr \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment