hyx: disable wall to fix darwin build

This commit is contained in:
Jörg Thalheim 2018-11-10 09:34:56 +00:00
parent 9fdf71d28f
commit 1fadff893f
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 13 additions and 0 deletions

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0gd8fbdyw12jwffa5dgcql4ry22xbdhqdds1qwzk1rkcrkgnc1mg";
};
patches = [ ./no-wall-by-default.patch ];
installPhase = ''
install -vD hyx $out/bin/hyx
'';

View File

@ -0,0 +1,11 @@
--- hyx-0.1.5.org/Makefile 2018-06-02 17:14:37.000000000 +0100
+++ hyx-0.1.5/Makefile 2018-11-10 09:25:49.569961762 +0000
@@ -1,7 +1,7 @@
all: CFLAGS ?= -O2 -Wl,-s \
-Wl,-z,relro,-z,now -fpic -pie -D_FORTIFY_SOURCE=2 -fstack-protector-all
-all: CFLAGS += -std=c99 -pedantic -Wall -Wextra -DNDEBUG
+all: CFLAGS += -std=c99 -DNDEBUG
all: hyx
debug: CFLAGS ?= -O0 -g \