archrelease: copy trunk to community-any
[ArchLinux/community.git] / libretro-bsnes-hd / repos / community-x86_64 / libretro-bsnes-hd-flags.patch
blob3faf24d9bedbc7d8deb37afa9b7a42abe060a26c
1 diff -rupN libretro-bsnes-hd.orig/bsnes/GNUmakefile libretro-bsnes-hd/bsnes/GNUmakefile
2 --- libretro-bsnes-hd.orig/bsnes/GNUmakefile 2020-01-29 12:32:57.736128837 +0100
3 +++ libretro-bsnes-hd/bsnes/GNUmakefile 2020-01-29 12:40:58.993295237 +0100
4 @@ -39,8 +39,8 @@ else ifneq ($(filter $(platform),linux b
5 options += -Wl,-export-dynamic
6 options += -lX11 -lXext
7 else ifeq ($(binary),library)
8 - flags += -fPIC
9 - options += -shared
10 + flags += $(CXXFLAGS) -fPIC
11 + options += $(LDFLAGS) -shared
12 endif
13 endif