added "-lm" flag

This commit is contained in:
Bea 2020-07-22 22:15:42 +02:00
parent fd8dd82a8d
commit 08110cb125

View File

@ -40,7 +40,7 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map),-wrap,exit,--section-start,.text=0x14000000
LIBS := -lctru
LIBS := -lm -lctru
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing