me
/
guix
Archived
1
0
Fork 0

gnu: sdcc: Remove bundled μCsim.

* gnu/packages/sdcc.scm (sdcc)[source]: Extend snippet to remove bundled μCsim
source.
[arguments]<#:configure-flags>: Replace "--enable-ucsim" with
"--disable-ucsim".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Simon South 2020-12-14 13:00:20 -05:00 committed by Ludovic Courtès
parent 29e91f0a61
commit 25b2d83d00
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -46,6 +46,8 @@
'(begin '(begin
;; Remove non-free source files ;; Remove non-free source files
(delete-file-recursively "device/non-free") (delete-file-recursively "device/non-free")
;; Remove bundled μCsim source
(delete-file-recursively "sim")
#t)) #t))
(patches (search-patches "sdcc-disable-non-free-code.patch")))) (patches (search-patches "sdcc-disable-non-free-code.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
@ -58,7 +60,7 @@
(arguments (arguments
`(;; gputils is required for PIC ports `(;; gputils is required for PIC ports
#:configure-flags #:configure-flags
'("--disable-pic14-port" "--disable-pic16-port" "--enable-ucsim") '("--disable-pic14-port" "--disable-pic16-port" "--disable-ucsim")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-makefile (add-after 'unpack 'patch-makefile