]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
GNU sed by default but can be overwritten gnu_sed_build_fix 32/head
authorDavid Carlier <devnexen@gmail.com>
Mon, 4 Dec 2017 16:17:09 +0000 (16:17 +0000)
committerDavid Carlier <devnexen@gmail.com>
Mon, 4 Dec 2017 16:17:09 +0000 (16:17 +0000)
CMakeLists.txt
Makefile

index e63f71f6654983d9ed0195700ec4070da685694f..3d2a0fbb4b27e0a9fc67bfab944431e967724c01 100644 (file)
@@ -3,6 +3,7 @@ project(xonotic)
 
 option(DOWNLOAD_MAPS "Download new maps from the build server" ON)
 option(BUILD_RELEASE "Package a release" OFF)
+set(SED "gsed" CACHE STRING "")
 
 function(subproject id name)
     if ($ENV{XON_NO_${id}})
index 72c166777556653686b746b591b880a2ef59d047..914fb4fce85a2bd5d9a5d9ca30655aa761828ba4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ INSTALL ?= install
 ARCH ?= $(shell if [ x"`uname -m`" = x"x86_64" ]; then echo linux64; else echo linux32; fi)
 LN ?= ln
 CP ?= cp
+SED ?= sed
 BINARY ?= yes
 SUFFIX ?= $(shell if [ -d .git ]; then echo git; elif [ x"$(BINARY)" = x"yes" ]; then echo zip-binary; else echo zip-source; fi)
 RIJNDAELDETECT_CONFIGURE ?= $(shell if ! [ -f source/d0_blind_id/d0_rijndael.c ]; then echo --disable-rijndael; fi)