diff options
author | Felipe Sateler <fsateler@debian.org> | 2016-01-15 01:47:00 (GMT) |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2016-01-15 01:47:00 (GMT) |
commit | 5c5026e572e36358b170d15a9451e6a471d710b6 (patch) | |
tree | d63b1fee97feddbb4e33cf47257a931557c262d6 /src | |
parent | 2b3c9602e710a92f5ab2c6f0a6143fc382aca724 (diff) | |
download | patchelf-5c5026e572e36358b170d15a9451e6a471d710b6.zip patchelf-5c5026e572e36358b170d15a9451e6a471d710b6.tar.gz patchelf-5c5026e572e36358b170d15a9451e6a471d710b6.tar.bz2 |
Allow specifying page size at configure time
Diffstat (limited to 'src')
-rw-r--r-- | src/patchelf.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc index ddde0c1..e4bb084 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -40,13 +40,7 @@ unsigned char * contents = 0; static unsigned int getPageSize(){ -#ifdef MIPSEL - /* The lemote fuloong 2f kernel defconfig sets a page size of - 16KB. */ - return 4096 * 4; -#else - return 4096; -#endif + return PAGESIZE; } |