Skip to content

Commit

Permalink
Use O0 instead of Og because of optimized out vars
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Sep 21, 2023
1 parent 1b5d294 commit 0adeafc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
working-directory: test

- name: Set debug flags
run: echo "CFLAGS=-Og -g" >> $GITHUB_ENV
run: echo "CFLAGS=-O0 -g" >> $GITHUB_ENV
if: ${{ inputs.optimized-or-debug == 'debug' }}

- name: Set optimized flags
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
working-directory: test

- name: Set debug flags
run: echo "CFLAGS=-Og -g" >> $GITHUB_ENV
run: echo "CFLAGS=-O0 -g" >> $GITHUB_ENV
if: ${{ inputs.optimized-or-debug == 'debug' }}

- name: Set optimized flags
Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:
submodules: recursive

- name: Set debug flags
run: echo "CFLAGS=-Og -g" >> $GITHUB_ENV
run: echo "CFLAGS=-O0 -g" >> $GITHUB_ENV
if: ${{ inputs.optimized-or-debug == 'debug' }}

- name: Set optimized flags
Expand Down

0 comments on commit 0adeafc

Please sign in to comment.