Skip to content

Commit 567a929

Browse files
committed
Update GitHub Actions workflow to set CFLAGS and CXXFLAGS for specific architectures
1 parent 7d0cb93 commit 567a929

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/CI.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ jobs:
3434
- uses: actions/setup-python@v5
3535
with:
3636
python-version: '3.10'
37-
- name: Set CFLAGS for specific targets
37+
- name: Set CFLAGS and CXXFLAGS for specific targets
3838
run: |
3939
if [[ ${{ matrix.platform.target }} == "ppc64le" || ${{ matrix.platform.target }} == "aarch64" || ${{ matrix.platform.target }} == "armv7" ]]; then
4040
echo "CFLAGS=-std=c99" >> $GITHUB_ENV
41+
echo "CXXFLAGS=-std=c++11" >> $GITHUB_ENV
4142
fi
4243
- name: Build wheels
4344
uses: PyO3/maturin-action@v1

0 commit comments

Comments
 (0)