mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
games-util/higan-purify: respect CXX
Closes: https://bugs.gentoo.org/784308 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 2a56366..59a3795 100755
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -15,18 +15,18 @@ endif
|
||||
all: build;
|
||||
|
||||
obj/phoenix.o: phoenix/phoenix.cpp
|
||||
- $(cpp) $(flags) -o obj/phoenix.o -c phoenix/phoenix.cpp $(phoenixflags)
|
||||
+ $(CXX) $(flags) -o obj/phoenix.o -c phoenix/phoenix.cpp $(phoenixflags)
|
||||
|
||||
obj/purify.o: purify.cpp
|
||||
- $(cpp) $(flags) -o obj/purify.o -c purify.cpp
|
||||
+ $(CXX) $(flags) -o obj/purify.o -c purify.cpp
|
||||
|
||||
build: $(objects)
|
||||
ifeq ($(platform),x)
|
||||
- $(cpp) $(flags) -pthread $(link) -o purify $(objects) $(phoenixlink)
|
||||
+ $(CXX) $(flags) -pthread $(link) -o purify $(objects) $(phoenixlink)
|
||||
else ifeq ($(platform),win)
|
||||
windres phoenix/windows/phoenix.rc obj/phoenix-resource.o
|
||||
- $(cpp) -shared -o phoenix.dll obj/phoenix.o $(phoenixlink)
|
||||
- $(cpp) -o purify obj/purify.o obj/phoenix-resource.o $(link) -L. -lphoenix
|
||||
+ $(CXX) -shared -o phoenix.dll obj/phoenix.o $(phoenixlink)
|
||||
+ $(CXX) -o purify obj/purify.o obj/phoenix-resource.o $(link) -L. -lphoenix
|
||||
endif
|
||||
|
||||
resource: force
|
||||
@@ -24,6 +24,7 @@ BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-QA.patch
|
||||
"${FILESDIR}"/${PN}-03-respect-CXX.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
@@ -35,6 +36,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
|
||||
emake \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
platform="x" \
|
||||
|
||||
Reference in New Issue
Block a user