Date: Thursday, August 6, 2015 @ 08:21:09 Author: alucryd Revision: 138001
archrelease: copy trunk to community-i686, community-x86_64 Added: higan-gtk/repos/community-i686/PKGBUILD (from rev 138000, higan-gtk/trunk/PKGBUILD) higan-gtk/repos/community-i686/higan (from rev 138000, higan-gtk/trunk/higan) higan-gtk/repos/community-i686/higan-makefile.patch (from rev 138000, higan-gtk/trunk/higan-makefile.patch) higan-gtk/repos/community-x86_64/PKGBUILD (from rev 138000, higan-gtk/trunk/PKGBUILD) higan-gtk/repos/community-x86_64/higan (from rev 138000, higan-gtk/trunk/higan) higan-gtk/repos/community-x86_64/higan-makefile.patch (from rev 138000, higan-gtk/trunk/higan-makefile.patch) Deleted: higan-gtk/repos/community-i686/PKGBUILD higan-gtk/repos/community-i686/higan higan-gtk/repos/community-i686/higan-makefile.patch higan-gtk/repos/community-x86_64/PKGBUILD higan-gtk/repos/community-x86_64/higan higan-gtk/repos/community-x86_64/higan-makefile.patch ---------------------------------------+ /PKGBUILD | 114 ++++++++++++++++++++++++++++++ /higan | 20 +++++ /higan-makefile.patch | 118 ++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 58 --------------- community-i686/higan | 13 --- community-i686/higan-makefile.patch | 59 ---------------- community-x86_64/PKGBUILD | 58 --------------- community-x86_64/higan | 13 --- community-x86_64/higan-makefile.patch | 59 ---------------- 9 files changed, 252 insertions(+), 260 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2015-08-06 06:20:49 UTC (rev 138000) +++ community-i686/PKGBUILD 2015-08-06 06:21:09 UTC (rev 138001) @@ -1,58 +0,0 @@ -# $Id: PKGBUILD 126332 2015-01-20 23:21:23Z alucryd $ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=higan-gtk -pkgver=094 -pkgrel=3 -pkgdesc='Nintendo multi-system emulator' -arch=('i686' 'x86_64') -url='http://byuu.org/' -license=('GPL3') -depends=('libao' 'libpulse' 'libxv' 'openal' 'sdl' 'xdialog') -makedepends=('mesa') -optdepends=('beat: Delta patcher') -conflicts=('higan-qt') -source=("http://files.byuu.org/download/higan_v${pkgver}-source.tar.xz" - 'higan-makefile.patch' - 'higan') -sha256sums=('5e149df9d50c1066eb97c0d66665428d75304da782bba5a87078b87fc311151b' - '5069d4847ec6cbeb2b1633f2538b7402c1ab27b31dd2b0d48ee7b617f361db6a' - 'c799232a0f67c4b7f40fc6ad05325a6c04e86d78e40f361d02f168a16d11d048') - -prepare() { - cd higan_v${pkgver}-source - - patch -Np1 -i ../higan-makefile.patch -} - -build() { - cd higan_v${pkgver}-source - - make phoenix='gtk' -C ananke - - for p in {accuracy,balanced,performance}; do - make phoenix='gtk' profile="$p" - mv out/higan{,-$p} - make clean - done -} - -package() { - cd higan_v${pkgver}-source - - install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan/Video\ Shaders}} - install -m 755 ../higan "${pkgdir}"/usr/bin/ - install -m 644 data/higan.desktop "${pkgdir}"/usr/share/applications/ - install -m 644 data/higan.png "${pkgdir}"/usr/share/pixmaps/ - cp -dr --no-preserve='ownership' profile/* data/cheats.bml "${pkgdir}"/usr/share/higan/ - cp -dr --no-preserve='ownership' shaders/*.shader "${pkgdir}"/usr/share/higan/Video\ Shaders/ - - install -m 644 ananke/libananke.so "${pkgdir}"/usr/lib/libananke.so.1 - ln -s libananke.so.1 "${pkgdir}"/usr/lib/libananke.so - - for p in {accuracy,balanced,performance}; do - install -m 755 out/higan-$p "${pkgdir}"/usr/bin/ - done -} - -# vim: ts=2 sw=2 et: Copied: higan-gtk/repos/community-i686/PKGBUILD (from rev 138000, higan-gtk/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-08-06 06:21:09 UTC (rev 138001) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=higan-gtk +pkgver=094 +pkgrel=4 +pkgdesc='Nintendo multi-system emulator' +arch=('i686' 'x86_64') +url='http://byuu.org/' +license=('GPL3') +depends=('libao' 'libpulse' 'libxv' 'openal' 'sdl' 'zenity') +makedepends=('mesa') +conflicts=('higan-qt') +source=("http://files.byuu.org/download/higan_v${pkgver}-source.tar.xz" + 'higan-makefile.patch' + 'higan') +sha256sums=('5e149df9d50c1066eb97c0d66665428d75304da782bba5a87078b87fc311151b' + '5069d4847ec6cbeb2b1633f2538b7402c1ab27b31dd2b0d48ee7b617f361db6a' + 'b58e312a903c99a37101d5c62c96e551caab7abf9c07f23eaf5a10b2c1d03df5') + +prepare() { + cd higan_v${pkgver}-source + + patch -Np1 -i ../higan-makefile.patch +} + +build() { + cd higan_v${pkgver}-source + + make phoenix='gtk' -C ananke + + for p in {accuracy,balanced,performance}; do + make phoenix='gtk' profile="$p" + mv out/higan{,-$p} + make clean + done +} + +package() { + cd higan_v${pkgver}-source + + install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan/Video\ Shaders}} + install -m 755 ../higan "${pkgdir}"/usr/bin/ + install -m 644 data/higan.desktop "${pkgdir}"/usr/share/applications/ + install -m 644 data/higan.png "${pkgdir}"/usr/share/pixmaps/ + cp -dr --no-preserve='ownership' profile/* data/cheats.bml "${pkgdir}"/usr/share/higan/ + cp -dr --no-preserve='ownership' shaders/*.shader "${pkgdir}"/usr/share/higan/Video\ Shaders/ + + install -m 644 ananke/libananke.so "${pkgdir}"/usr/lib/libananke.so.1 + ln -s libananke.so.1 "${pkgdir}"/usr/lib/libananke.so + + for p in {accuracy,balanced,performance}; do + install -m 755 out/higan-$p "${pkgdir}"/usr/bin/ + done +} + +# vim: ts=2 sw=2 et: Deleted: community-i686/higan =================================================================== --- community-i686/higan 2015-08-06 06:20:49 UTC (rev 138000) +++ community-i686/higan 2015-08-06 06:21:09 UTC (rev 138001) @@ -1,13 +0,0 @@ -#!/bin/sh - -# Shared folders workaround -cp -ru /usr/share/higan ~/.config/ - -# Check for profiles and prompt user with a GUI -[ -e /usr/bin/higan-accuracy ] && tag1=accuracy -[ -e /usr/bin/higan-balanced ] && tag2=balanced -[ -e /usr/bin/higan-performance ] && tag3=performance -profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)" - -# Launch selected profile -exec higan-$profile "$@" Copied: higan-gtk/repos/community-i686/higan (from rev 138000, higan-gtk/trunk/higan) =================================================================== --- community-i686/higan (rev 0) +++ community-i686/higan 2015-08-06 06:21:09 UTC (rev 138001) @@ -0,0 +1,10 @@ +#!/bin/sh + +# Keep config up to date +cp -ru /usr/share/higan ~/.config/ + +# Prompt for profile +profile="$(zenity --list --radiolist --title 'Please select a profile' --column '' --column '' FALSE 'accuracy' TRUE 'balanced' FALSE 'performance')" + +# Launch selected profile +[[ -n $profile ]] && exec higan-$profile "$@" Deleted: community-i686/higan-makefile.patch =================================================================== --- community-i686/higan-makefile.patch 2015-08-06 06:20:49 UTC (rev 138000) +++ community-i686/higan-makefile.patch 2015-08-06 06:21:09 UTC (rev 138001) @@ -1,59 +0,0 @@ -diff -rupN higan_v094-source.orig/ananke/Makefile higan_v094-source/ananke/Makefile ---- higan_v094-source.orig/ananke/Makefile 2015-01-20 14:56:18.634660183 +0100 -+++ higan_v094-source/ananke/Makefile 2015-01-20 15:00:39.164662554 +0100 -@@ -2,7 +2,8 @@ include ../nall/Makefile - include ../phoenix/Makefile - - path := /usr/local/lib --flags := $(flags) -O3 -fomit-frame-pointer -I.. -+flags := $(flags) $(CXXFLAGS) -I.. -+link := $(link) $(LDFLAGS) - - all: - $(compiler) $(cppflags) $(flags) -fPIC -o obj/ananke.o -c ananke.cpp -diff -rupN higan_v094-source.orig/Makefile higan_v094-source/Makefile ---- higan_v094-source.orig/Makefile 2015-01-20 14:56:18.634660183 +0100 -+++ higan_v094-source/Makefile 2015-01-20 15:06:30.531332416 +0100 -@@ -13,8 +13,8 @@ target := ethos - # console := true - - # compiler --flags += -I. -O3 -fomit-frame-pointer --link += -+flags += $(CXXFLAGS) -I. -+link += $(LDFLAGS) - objects := libco - - # profile-guided optimization mode -@@ -45,7 +45,7 @@ else ifeq ($(platform),macosx) - flags += -march=native - else ifeq ($(platform),linux) -- flags += -march=native -- link += -s -Wl,-export-dynamic -lX11 -lXext -ldl -+ flags += -+ link += -Wl,-export-dynamic -lX11 -lXext -ldl - else ifeq ($(platform),bsd) - flags += -march=native - link += -s -Wl,-export-dynamic -lX11 -lXext -diff -rupN higan_v094-source.orig/nall/Makefile higan_v094-source/nall/Makefile ---- higan_v094-source.orig/nall/Makefile 2015-01-20 14:56:18.641326850 +0100 -+++ higan_v094-source/nall/Makefile 2015-01-20 15:04:30.104664654 +0100 -@@ -52,13 +52,13 @@ ifeq ($(compiler),) - flags := - link := - endif -- -- cflags := -x c -std=c99 -- objcflags := -x objective-c -std=c99 -- cppflags := -x c++ -std=c++11 -- objcppflags := -x objective-c++ -std=c++11 - endif - -+cflags := -x c -std=c99 -+objcflags := -x objective-c -std=c99 -+cppflags := -x c++ -std=c++11 -+objcppflags := -x objective-c++ -std=c++11 -+ - # cross-compilation support - ifeq ($(arch),x86) - flags := -m32 $(flags) Copied: higan-gtk/repos/community-i686/higan-makefile.patch (from rev 138000, higan-gtk/trunk/higan-makefile.patch) =================================================================== --- community-i686/higan-makefile.patch (rev 0) +++ community-i686/higan-makefile.patch 2015-08-06 06:21:09 UTC (rev 138001) @@ -0,0 +1,59 @@ +diff -rupN higan_v094-source.orig/ananke/Makefile higan_v094-source/ananke/Makefile +--- higan_v094-source.orig/ananke/Makefile 2015-01-20 14:56:18.634660183 +0100 ++++ higan_v094-source/ananke/Makefile 2015-01-20 15:00:39.164662554 +0100 +@@ -2,7 +2,8 @@ include ../nall/Makefile + include ../phoenix/Makefile + + path := /usr/local/lib +-flags := $(flags) -O3 -fomit-frame-pointer -I.. ++flags := $(flags) $(CXXFLAGS) -I.. ++link := $(link) $(LDFLAGS) + + all: + $(compiler) $(cppflags) $(flags) -fPIC -o obj/ananke.o -c ananke.cpp +diff -rupN higan_v094-source.orig/Makefile higan_v094-source/Makefile +--- higan_v094-source.orig/Makefile 2015-01-20 14:56:18.634660183 +0100 ++++ higan_v094-source/Makefile 2015-01-20 15:06:30.531332416 +0100 +@@ -13,8 +13,8 @@ target := ethos + # console := true + + # compiler +-flags += -I. -O3 -fomit-frame-pointer +-link += ++flags += $(CXXFLAGS) -I. ++link += $(LDFLAGS) + objects := libco + + # profile-guided optimization mode +@@ -45,7 +45,7 @@ else ifeq ($(platform),macosx) + flags += -march=native + else ifeq ($(platform),linux) +- flags += -march=native +- link += -s -Wl,-export-dynamic -lX11 -lXext -ldl ++ flags += ++ link += -Wl,-export-dynamic -lX11 -lXext -ldl + else ifeq ($(platform),bsd) + flags += -march=native + link += -s -Wl,-export-dynamic -lX11 -lXext +diff -rupN higan_v094-source.orig/nall/Makefile higan_v094-source/nall/Makefile +--- higan_v094-source.orig/nall/Makefile 2015-01-20 14:56:18.641326850 +0100 ++++ higan_v094-source/nall/Makefile 2015-01-20 15:04:30.104664654 +0100 +@@ -52,13 +52,13 @@ ifeq ($(compiler),) + flags := + link := + endif +- +- cflags := -x c -std=c99 +- objcflags := -x objective-c -std=c99 +- cppflags := -x c++ -std=c++11 +- objcppflags := -x objective-c++ -std=c++11 + endif + ++cflags := -x c -std=c99 ++objcflags := -x objective-c -std=c99 ++cppflags := -x c++ -std=c++11 ++objcppflags := -x objective-c++ -std=c++11 ++ + # cross-compilation support + ifeq ($(arch),x86) + flags := -m32 $(flags) Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2015-08-06 06:20:49 UTC (rev 138000) +++ community-x86_64/PKGBUILD 2015-08-06 06:21:09 UTC (rev 138001) @@ -1,58 +0,0 @@ -# $Id: PKGBUILD 126332 2015-01-20 23:21:23Z alucryd $ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=higan-gtk -pkgver=094 -pkgrel=3 -pkgdesc='Nintendo multi-system emulator' -arch=('i686' 'x86_64') -url='http://byuu.org/' -license=('GPL3') -depends=('libao' 'libpulse' 'libxv' 'openal' 'sdl' 'xdialog') -makedepends=('mesa') -optdepends=('beat: Delta patcher') -conflicts=('higan-qt') -source=("http://files.byuu.org/download/higan_v${pkgver}-source.tar.xz" - 'higan-makefile.patch' - 'higan') -sha256sums=('5e149df9d50c1066eb97c0d66665428d75304da782bba5a87078b87fc311151b' - '5069d4847ec6cbeb2b1633f2538b7402c1ab27b31dd2b0d48ee7b617f361db6a' - 'c799232a0f67c4b7f40fc6ad05325a6c04e86d78e40f361d02f168a16d11d048') - -prepare() { - cd higan_v${pkgver}-source - - patch -Np1 -i ../higan-makefile.patch -} - -build() { - cd higan_v${pkgver}-source - - make phoenix='gtk' -C ananke - - for p in {accuracy,balanced,performance}; do - make phoenix='gtk' profile="$p" - mv out/higan{,-$p} - make clean - done -} - -package() { - cd higan_v${pkgver}-source - - install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan/Video\ Shaders}} - install -m 755 ../higan "${pkgdir}"/usr/bin/ - install -m 644 data/higan.desktop "${pkgdir}"/usr/share/applications/ - install -m 644 data/higan.png "${pkgdir}"/usr/share/pixmaps/ - cp -dr --no-preserve='ownership' profile/* data/cheats.bml "${pkgdir}"/usr/share/higan/ - cp -dr --no-preserve='ownership' shaders/*.shader "${pkgdir}"/usr/share/higan/Video\ Shaders/ - - install -m 644 ananke/libananke.so "${pkgdir}"/usr/lib/libananke.so.1 - ln -s libananke.so.1 "${pkgdir}"/usr/lib/libananke.so - - for p in {accuracy,balanced,performance}; do - install -m 755 out/higan-$p "${pkgdir}"/usr/bin/ - done -} - -# vim: ts=2 sw=2 et: Copied: higan-gtk/repos/community-x86_64/PKGBUILD (from rev 138000, higan-gtk/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-08-06 06:21:09 UTC (rev 138001) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=higan-gtk +pkgver=094 +pkgrel=4 +pkgdesc='Nintendo multi-system emulator' +arch=('i686' 'x86_64') +url='http://byuu.org/' +license=('GPL3') +depends=('libao' 'libpulse' 'libxv' 'openal' 'sdl' 'zenity') +makedepends=('mesa') +conflicts=('higan-qt') +source=("http://files.byuu.org/download/higan_v${pkgver}-source.tar.xz" + 'higan-makefile.patch' + 'higan') +sha256sums=('5e149df9d50c1066eb97c0d66665428d75304da782bba5a87078b87fc311151b' + '5069d4847ec6cbeb2b1633f2538b7402c1ab27b31dd2b0d48ee7b617f361db6a' + 'b58e312a903c99a37101d5c62c96e551caab7abf9c07f23eaf5a10b2c1d03df5') + +prepare() { + cd higan_v${pkgver}-source + + patch -Np1 -i ../higan-makefile.patch +} + +build() { + cd higan_v${pkgver}-source + + make phoenix='gtk' -C ananke + + for p in {accuracy,balanced,performance}; do + make phoenix='gtk' profile="$p" + mv out/higan{,-$p} + make clean + done +} + +package() { + cd higan_v${pkgver}-source + + install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan/Video\ Shaders}} + install -m 755 ../higan "${pkgdir}"/usr/bin/ + install -m 644 data/higan.desktop "${pkgdir}"/usr/share/applications/ + install -m 644 data/higan.png "${pkgdir}"/usr/share/pixmaps/ + cp -dr --no-preserve='ownership' profile/* data/cheats.bml "${pkgdir}"/usr/share/higan/ + cp -dr --no-preserve='ownership' shaders/*.shader "${pkgdir}"/usr/share/higan/Video\ Shaders/ + + install -m 644 ananke/libananke.so "${pkgdir}"/usr/lib/libananke.so.1 + ln -s libananke.so.1 "${pkgdir}"/usr/lib/libananke.so + + for p in {accuracy,balanced,performance}; do + install -m 755 out/higan-$p "${pkgdir}"/usr/bin/ + done +} + +# vim: ts=2 sw=2 et: Deleted: community-x86_64/higan =================================================================== --- community-x86_64/higan 2015-08-06 06:20:49 UTC (rev 138000) +++ community-x86_64/higan 2015-08-06 06:21:09 UTC (rev 138001) @@ -1,13 +0,0 @@ -#!/bin/sh - -# Shared folders workaround -cp -ru /usr/share/higan ~/.config/ - -# Check for profiles and prompt user with a GUI -[ -e /usr/bin/higan-accuracy ] && tag1=accuracy -[ -e /usr/bin/higan-balanced ] && tag2=balanced -[ -e /usr/bin/higan-performance ] && tag3=performance -profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)" - -# Launch selected profile -exec higan-$profile "$@" Copied: higan-gtk/repos/community-x86_64/higan (from rev 138000, higan-gtk/trunk/higan) =================================================================== --- community-x86_64/higan (rev 0) +++ community-x86_64/higan 2015-08-06 06:21:09 UTC (rev 138001) @@ -0,0 +1,10 @@ +#!/bin/sh + +# Keep config up to date +cp -ru /usr/share/higan ~/.config/ + +# Prompt for profile +profile="$(zenity --list --radiolist --title 'Please select a profile' --column '' --column '' FALSE 'accuracy' TRUE 'balanced' FALSE 'performance')" + +# Launch selected profile +[[ -n $profile ]] && exec higan-$profile "$@" Deleted: community-x86_64/higan-makefile.patch =================================================================== --- community-x86_64/higan-makefile.patch 2015-08-06 06:20:49 UTC (rev 138000) +++ community-x86_64/higan-makefile.patch 2015-08-06 06:21:09 UTC (rev 138001) @@ -1,59 +0,0 @@ -diff -rupN higan_v094-source.orig/ananke/Makefile higan_v094-source/ananke/Makefile ---- higan_v094-source.orig/ananke/Makefile 2015-01-20 14:56:18.634660183 +0100 -+++ higan_v094-source/ananke/Makefile 2015-01-20 15:00:39.164662554 +0100 -@@ -2,7 +2,8 @@ include ../nall/Makefile - include ../phoenix/Makefile - - path := /usr/local/lib --flags := $(flags) -O3 -fomit-frame-pointer -I.. -+flags := $(flags) $(CXXFLAGS) -I.. -+link := $(link) $(LDFLAGS) - - all: - $(compiler) $(cppflags) $(flags) -fPIC -o obj/ananke.o -c ananke.cpp -diff -rupN higan_v094-source.orig/Makefile higan_v094-source/Makefile ---- higan_v094-source.orig/Makefile 2015-01-20 14:56:18.634660183 +0100 -+++ higan_v094-source/Makefile 2015-01-20 15:06:30.531332416 +0100 -@@ -13,8 +13,8 @@ target := ethos - # console := true - - # compiler --flags += -I. -O3 -fomit-frame-pointer --link += -+flags += $(CXXFLAGS) -I. -+link += $(LDFLAGS) - objects := libco - - # profile-guided optimization mode -@@ -45,7 +45,7 @@ else ifeq ($(platform),macosx) - flags += -march=native - else ifeq ($(platform),linux) -- flags += -march=native -- link += -s -Wl,-export-dynamic -lX11 -lXext -ldl -+ flags += -+ link += -Wl,-export-dynamic -lX11 -lXext -ldl - else ifeq ($(platform),bsd) - flags += -march=native - link += -s -Wl,-export-dynamic -lX11 -lXext -diff -rupN higan_v094-source.orig/nall/Makefile higan_v094-source/nall/Makefile ---- higan_v094-source.orig/nall/Makefile 2015-01-20 14:56:18.641326850 +0100 -+++ higan_v094-source/nall/Makefile 2015-01-20 15:04:30.104664654 +0100 -@@ -52,13 +52,13 @@ ifeq ($(compiler),) - flags := - link := - endif -- -- cflags := -x c -std=c99 -- objcflags := -x objective-c -std=c99 -- cppflags := -x c++ -std=c++11 -- objcppflags := -x objective-c++ -std=c++11 - endif - -+cflags := -x c -std=c99 -+objcflags := -x objective-c -std=c99 -+cppflags := -x c++ -std=c++11 -+objcppflags := -x objective-c++ -std=c++11 -+ - # cross-compilation support - ifeq ($(arch),x86) - flags := -m32 $(flags) Copied: higan-gtk/repos/community-x86_64/higan-makefile.patch (from rev 138000, higan-gtk/trunk/higan-makefile.patch) =================================================================== --- community-x86_64/higan-makefile.patch (rev 0) +++ community-x86_64/higan-makefile.patch 2015-08-06 06:21:09 UTC (rev 138001) @@ -0,0 +1,59 @@ +diff -rupN higan_v094-source.orig/ananke/Makefile higan_v094-source/ananke/Makefile +--- higan_v094-source.orig/ananke/Makefile 2015-01-20 14:56:18.634660183 +0100 ++++ higan_v094-source/ananke/Makefile 2015-01-20 15:00:39.164662554 +0100 +@@ -2,7 +2,8 @@ include ../nall/Makefile + include ../phoenix/Makefile + + path := /usr/local/lib +-flags := $(flags) -O3 -fomit-frame-pointer -I.. ++flags := $(flags) $(CXXFLAGS) -I.. ++link := $(link) $(LDFLAGS) + + all: + $(compiler) $(cppflags) $(flags) -fPIC -o obj/ananke.o -c ananke.cpp +diff -rupN higan_v094-source.orig/Makefile higan_v094-source/Makefile +--- higan_v094-source.orig/Makefile 2015-01-20 14:56:18.634660183 +0100 ++++ higan_v094-source/Makefile 2015-01-20 15:06:30.531332416 +0100 +@@ -13,8 +13,8 @@ target := ethos + # console := true + + # compiler +-flags += -I. -O3 -fomit-frame-pointer +-link += ++flags += $(CXXFLAGS) -I. ++link += $(LDFLAGS) + objects := libco + + # profile-guided optimization mode +@@ -45,7 +45,7 @@ else ifeq ($(platform),macosx) + flags += -march=native + else ifeq ($(platform),linux) +- flags += -march=native +- link += -s -Wl,-export-dynamic -lX11 -lXext -ldl ++ flags += ++ link += -Wl,-export-dynamic -lX11 -lXext -ldl + else ifeq ($(platform),bsd) + flags += -march=native + link += -s -Wl,-export-dynamic -lX11 -lXext +diff -rupN higan_v094-source.orig/nall/Makefile higan_v094-source/nall/Makefile +--- higan_v094-source.orig/nall/Makefile 2015-01-20 14:56:18.641326850 +0100 ++++ higan_v094-source/nall/Makefile 2015-01-20 15:04:30.104664654 +0100 +@@ -52,13 +52,13 @@ ifeq ($(compiler),) + flags := + link := + endif +- +- cflags := -x c -std=c99 +- objcflags := -x objective-c -std=c99 +- cppflags := -x c++ -std=c++11 +- objcppflags := -x objective-c++ -std=c++11 + endif + ++cflags := -x c -std=c99 ++objcflags := -x objective-c -std=c99 ++cppflags := -x c++ -std=c++11 ++objcppflags := -x objective-c++ -std=c++11 ++ + # cross-compilation support + ifeq ($(arch),x86) + flags := -m32 $(flags)