Skip to content

Commit

Permalink
Merge pull request #676 from ohmtech-rdi/build-opt-o2
Browse files Browse the repository at this point in the history
Use O2 instead of O3
  • Loading branch information
ohmtech-rdi authored May 25, 2024
2 parents 95f1a56 + c8cc1a2 commit 5285b27
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-system/erbb/generators/daisy/Makefile_template
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ FLAGS += -O0 -g -ggdb -funsafe-math-optimizations
endif

ifeq ($(CONFIGURATION),Release)
FLAGS += -O3 -DNDEBUG=1 -funsafe-math-optimizations
FLAGS += -O2 -DNDEBUG=1 -funsafe-math-optimizations
endif

ifdef SEMIHOSTING
Expand Down
2 changes: 1 addition & 1 deletion build-system/erbb/generators/fuzz/Makefile_template
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ FLAGS += -O0 -g -ggdb -funsafe-math-optimizations
endif

ifeq ($(CONFIGURATION),Release)
FLAGS += -O3 -DNDEBUG=1 -funsafe-math-optimizations
FLAGS += -O2 -DNDEBUG=1 -funsafe-math-optimizations
endif

ifdef SEMIHOSTING
Expand Down
2 changes: 1 addition & 1 deletion build-system/erbb/generators/perf/Makefile_template
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ FLAGS += -O0 -g -ggdb -funsafe-math-optimizations
endif

ifeq ($(CONFIGURATION),Release)
FLAGS += -O3 -DNDEBUG=1 -funsafe-math-optimizations
FLAGS += -O2 -DNDEBUG=1 -funsafe-math-optimizations
endif

ifdef SEMIHOSTING
Expand Down
2 changes: 1 addition & 1 deletion build-system/erbb/generators/simulator/Makefile_template
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ FLAGS += -O0 -g -funsafe-math-optimizations
endif

ifeq ($(CONFIGURATION),Release)
FLAGS += -O3 -DNDEBUG=1 -funsafe-math-optimizations
FLAGS += -O2 -DNDEBUG=1 -funsafe-math-optimizations
endif

%warnings%
Expand Down

0 comments on commit 5285b27

Please sign in to comment.