Skip to content

Commit

Permalink
Better makefile yes/no
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Mar 16, 2020
1 parent ee05be5 commit a89053c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions software/standalone/common/riscv64-unknown-elf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ endif


ifeq ($(DEBUG),yes)
ifeq ($(DEBUG_Og),no)
ifneq ($(DEBUG_Og),yes)
CFLAGS += -g3 -O0
else
CFLAGS += -g3 -Og
endif
endif

ifeq ($(DEBUG),no)
ifeq ($(BENCH),no)
ifneq ($(DEBUG),yes)
ifneq ($(BENCH),yes)
CFLAGS += -Os
else
CFLAGS += -O3
Expand Down

0 comments on commit a89053c

Please sign in to comment.