|
|
@ -165,12 +165,10 @@ |
|
|
|
(setenv "CXXFLAGS" #$%cflags) |
|
|
|
(setenv "CXXFLAGS" #$%cflags) |
|
|
|
(setenv "LDFLAGS" #$%ldflags) |
|
|
|
(setenv "LDFLAGS" #$%ldflags) |
|
|
|
|
|
|
|
|
|
|
|
;; FIXME: For some unknown reason, the build would fail when |
|
|
|
;; FIXME: |
|
|
|
;; calling `pthread_cancel()` at SORTTAB stage, together |
|
|
|
;; libgcc_s.so.1 must be installed for pthread_cancel to work |
|
|
|
;; with a "missing libgcc_s.so.1" error, no matter whether |
|
|
|
;; scripts/link-vmlinux.sh: line 189: 22065 Aborted (core dumped) ${objtree}/scripts/sorttable ${1} |
|
|
|
;; it's present in LIBRARY_PATH. |
|
|
|
;; Failed to sort kernel tables |
|
|
|
|
|
|
|
|
|
|
|
;; However, LD_PRELOAD addresses this.... |
|
|
|
|
|
|
|
(setenv "LD_PRELOAD" |
|
|
|
(setenv "LD_PRELOAD" |
|
|
|
(string-append #$gcc:lib "/lib/libgcc_s.so.1")))))))) |
|
|
|
(string-append #$gcc:lib "/lib/libgcc_s.so.1")))))))) |
|
|
|
(native-inputs |
|
|
|
(native-inputs |
|
|
@ -182,6 +180,7 @@ |
|
|
|
zstd) |
|
|
|
zstd) |
|
|
|
(delete "gmp" "mpc" "mpfr"))) |
|
|
|
(delete "gmp" "mpc" "mpfr"))) |
|
|
|
(home-page "https://xanmod.org/") |
|
|
|
(home-page "https://xanmod.org/") |
|
|
|
|
|
|
|
(supported-systems '("x86_64-linux")) |
|
|
|
(synopsis |
|
|
|
(synopsis |
|
|
|
"Linux kernel distribution with custom settings and new features") |
|
|
|
"Linux kernel distribution with custom settings and new features") |
|
|
|
(description |
|
|
|
(description |
|
|
@ -197,6 +196,7 @@ experience.")))) |
|
|
|
(package |
|
|
|
(package |
|
|
|
(inherit base) |
|
|
|
(inherit base) |
|
|
|
(home-page "https://github.com/anthraxx/linux-hardened") |
|
|
|
(home-page "https://github.com/anthraxx/linux-hardened") |
|
|
|
|
|
|
|
(supported-systems '("aarch64-linux" "x86_64-linux")) |
|
|
|
(synopsis "The Security-Hardened Linux kernel and modules") |
|
|
|
(synopsis "The Security-Hardened Linux kernel and modules") |
|
|
|
(description |
|
|
|
(description |
|
|
|
"This package provides a Linux kernel with minimal supplement to |
|
|
|
"This package provides a Linux kernel with minimal supplement to |
|
|
|