diff --git a/Makefile.dingux b/Makefile.dingux index 67449f47bc..333007d541 100644 --- a/Makefile.dingux +++ b/Makefile.dingux @@ -78,6 +78,7 @@ OPK_NAME = retroarch.opk OBJ := LINK := $(CXX) DEF_FLAGS := -march=mips32 -mtune=mips32r2 -mhard-float -ffast-math -fomit-frame-pointer +DEF_FLAGS += -mplt -mno-shared DEF_FLAGS += -ffunction-sections -fdata-sections DEF_FLAGS += -I. -Ideps -Ideps/stb -DDINGUX=1 -MMD DEF_FLAGS += -Wall -Wno-unused-variable diff --git a/Makefile.rg350 b/Makefile.rg350 index 41a6693324..7a20c4293e 100644 --- a/Makefile.rg350 +++ b/Makefile.rg350 @@ -82,6 +82,7 @@ OPK_NAME = retroarch_rg350.opk OBJ := LINK := $(CXX) DEF_FLAGS := -march=mips32 -mtune=mips32r2 -mhard-float -ffast-math -fomit-frame-pointer +DEF_FLAGS += -mplt -mno-shared DEF_FLAGS += -ffunction-sections -fdata-sections DEF_FLAGS += -I. -Ideps -Ideps/stb -DDINGUX=1 -MMD DEF_FLAGS += -Wall -Wno-unused-variable