Skip to content

Commit

Permalink
fix: increase max times limit on constexpr operations for duplication…
Browse files Browse the repository at this point in the history
… check on fonts with thousands of characters.

It may take a really long time in the build process though.
Read #18 for more deails.
  • Loading branch information
laqieer committed Feb 10, 2022
1 parent 20c71e9 commit d88f786
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions butano/butano.mak
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ CFLAGS += $(USERFLAGS)

CPPWARNINGS := -Wuseless-cast -Wnon-virtual-dtor -Woverloaded-virtual
CXXFLAGS := $(CFLAGS) $(CPPWARNINGS) -std=c++20 -fno-rtti -fno-exceptions
ifneq ($(strip $(FONTS)),)
CXXFLAGS += -fconstexpr-ops-limit=10000000000
endif

ASFLAGS := -gdwarf-4 $(ARCH)
LDFLAGS = -gdwarf-4 $(ARCH) -Wl,-Map,$(notdir $*.map)
Expand Down

0 comments on commit d88f786

Please sign in to comment.