Skip to content

Commit

Permalink
add Lua 5.2 mathlib compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
trentgill committed Jul 25, 2023
1 parent 3e80155 commit b392bd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ CFLAGS += -DLUA_32BITS
CFLAGS += -fno-common
CFLAGS += -DVERSION=\"$(GIT_VERSION)\"
CFLAGS += -ffunction-sections -fdata-sections # provides majority of LTO binary size reduction
CFLAGS += -DLUA_COMPAT_MATHLIB

# debugger: choose between uart (=0) & swtrace(=1). latter requires hardware mod
TRACE ?= 0
Expand Down

0 comments on commit b392bd4

Please sign in to comment.