aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2016-06-09 21:53:02 +0300
committerTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2016-06-10 17:40:27 +0300
commit7c6058c08266f663973d1b7eb729e36e24728d17 (patch)
tree890ab122f4ba80e07e663f3025648367c3e9e0f2 /gnu/packages/patches
parentc59f62e9cb02893dbae78acc5f0ac12df7b45432 (diff)
downloadguix-7c6058c08266f663973d1b7eb729e36e24728d17.tar
guix-7c6058c08266f663973d1b7eb729e36e24728d17.tar.gz
gnu: higan: Various improvements.
* gnu/packages/games.scm (higan): Use semi-official repository at GitLab (using hotfix tag 098b which is equivalent to official release 098). Add a patch to remove the build flag -march=native. Set profile to balanced. * gnu/packages/patches/higan-remove-march-native-flag.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/higan-remove-march-native-flag.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/higan-remove-march-native-flag.patch b/gnu/packages/patches/higan-remove-march-native-flag.patch
new file mode 100644
index 0000000000..8f4a36dc35
--- /dev/null
+++ b/gnu/packages/patches/higan-remove-march-native-flag.patch
@@ -0,0 +1,13 @@
+Remove -march=native from build flags.
+
+--- a/higan/GNUmakefile
++++ b/higan/GNUmakefile
+@@ -32,7 +32,7 @@ ifeq ($(platform),windows)
+ else ifeq ($(platform),macosx)
+ flags += -march=native
+ else ifneq ($(filter $(platform),linux bsd),)
+- flags += -march=native -fopenmp
++ flags += -fopenmp
+ link += -fopenmp
+ link += -Wl,-export-dynamic
+ link += -lX11 -lXext