Skip to content

NSW: dynamic cores#220

Merged
inactive123 merged 1 commit intolibretro:masterfrom
misson20000:nsw-dynamic
Jun 21, 2018
Merged

NSW: dynamic cores#220
inactive123 merged 1 commit intolibretro:masterfrom
misson20000:nsw-dynamic

Conversation

@misson20000
Copy link
Copy Markdown
Contributor

Tweaks the makefile to produce shared objects when compiling for switch. See libretro/RetroArch#6847.

Comment thread Makefile.libretro
else ifeq ($(platform), switch)
OBJOUT = -o
LINKOUT = -o
# libtransistor.mk sets LD for us
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a better way to do this that doesn't involve special-casing?

Comment thread Makefile.libretro
# libtransistor.mk sets LD for us
else
OBJOUT = -o
LINKOUT = -o
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we replaced LD = $(CC) with LD ?= $(CC), would it break building other platforms?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the SNES Classic/Mini guys were asking to replace all of our compiler/linker = with ?=, as well, so it's probably something we should investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants