Merge pull request #116662 from AndersonTorres/new-xa
Fix typos in xa and dxa
This commit is contained in:
commit
3a71e9c256
|
@ -18,9 +18,8 @@ stdenv.mkDerivation rec {
|
|||
dontConfigure = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace \
|
||||
--replace "CC = gcc" "CC = cc' \
|
||||
Makefile
|
||||
substituteInPlace Makefile \
|
||||
--replace "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
@ -15,13 +15,12 @@ stdenv.mkDerivation rec {
|
|||
dontConfigure = true;
|
||||
|
||||
postPatch = ''
|
||||
substitueInPlace \
|
||||
substituteInPlace Makefile \
|
||||
--replace "DESTDIR" "PREFIX" \
|
||||
--replace "CC = gcc" "CC = cc" \
|
||||
--replace "LDD = gcc" "LDD = ld" \
|
||||
--replace "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc" \
|
||||
--replace "LDD = gcc" "LDD = ${stdenv.cc.targetPrefix}cc" \
|
||||
--replace "CFLAGS = -O2" "CFLAGS ?=" \
|
||||
--replace "LDFLAGS = -lc" "LDFLAGS ?= -lc" \
|
||||
Makefile
|
||||
--replace "LDFLAGS = -lc" "LDFLAGS ?= -lc"
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
|
Loading…
Reference in a new issue