File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,13 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({
25
25
hardeningDisable = [ "fortify" "stackprotector" "format" ] ;
26
26
configureFlags = old . configureFlags ++ [ "--disable-shared" ] ;
27
27
} ) ;
28
+
28
29
zlib = prev . zlib . override { shared = false ; static = true ; } ;
29
-
30
+
31
+ numactl = prev . numactl . overrideAttrs ( attrs : {
32
+ patches = ( attrs . patches or [ ] ) ++ [ ./patches/numactl-2.0.14-no-librt.patch ] ;
33
+ } ) ;
34
+
30
35
} ) // prev . lib . optionalAttrs prev . stdenv . targetPlatform . isAndroid ( {
31
36
# we still need the shared libraries to link against on the platform. GHC
32
37
# has been neutered to not even try loading shared libs and will use dynamic ones.
Original file line number Diff line number Diff line change
1
+ diff --git a/Makefile.am b/Makefile.am
2
+ index 44d0d76..1181ca5 100644
3
+ --- a/Makefile.am
4
+ +++ b/Makefile.am
5
+ @@ -34,7 +34,7 @@ migratepages_SOURCES = migratepages.c util.c
6
+ migratepages_LDADD = libnuma.la
7
+
8
+ migspeed_SOURCES = migspeed.c util.c
9
+ - migspeed_LDADD = libnuma.la -lrt
10
+ + migspeed_LDADD = libnuma.la
11
+
12
+ memhog_SOURCES = memhog.c util.c
13
+ memhog_LDADD = libnuma.la
You can’t perform that action at this time.
0 commit comments