Skip to content

Commit

Permalink
small compilation optimizations for better compatibility with older s…
Browse files Browse the repository at this point in the history
…ystems
  • Loading branch information
zoltanvb committed Apr 23, 2022
1 parent d5c3357 commit 5793a6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ifeq ($(STATIC_LINKING), 1)
EXT := a
endif

LIBM = -lm -lpthread
LIBM = -lpthread
CC_AS ?= $(CC)

LDFLAGS += -Wl,--as-needed
Expand All @@ -123,15 +123,15 @@ DEFINES := $(PLATFORM_DEFINES) -DEXCLUDE_SOUND_LIBS -DEP128EMU_LIBRETRO_CORE
# DEFINES += -DEP128EMU_USE_XRGB8888

CFLAGS += $(DEFINES)
CXXFLAGS += $(DEFINES) -std=c++2a
CXXFLAGS += $(DEFINES) -std=c++0x

include Makefile.common

INCLUDES := $(INCFLAGS)
OBJECTS := $(SOURCES_CPP:.cpp=.o)
OBJECTS += $(SOURCES_C:.c=.o)
CFLAGS += -Wall -pedantic $(fpic)
CXXFLAGS += -Wall -pedantic $(fpic)
CFLAGS += -Wall $(fpic)
CXXFLAGS += -Wall $(fpic)

all Release: $(TARGET)

Expand Down
4 changes: 2 additions & 2 deletions core/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ EP Mouse support
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
//#include <math.h>
#include <algorithm>

#include "ep128vm.hpp"
Expand Down Expand Up @@ -363,7 +363,7 @@ void retro_get_system_info(struct retro_system_info *info)
{
memset(info, 0, sizeof(*info));
info->library_name = "ep128emu";
info->library_version = "v0.90";
info->library_version = "v0.91";
info->need_fullpath = true;
info->valid_extensions = "img|dsk|tap|dtf|com|trn|128|bas|cas|cdt|tzx|.";
}
Expand Down

0 comments on commit 5793a6c

Please sign in to comment.