|
|
@ -20,13 +20,17 @@ |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
fu_pm() { |
|
|
|
# INSTALL_WRAPPER_FILTER needs to be empty to not filter the symlink |
|
|
|
INSTALL_WRAPPER_FILTER="" ln -sfv ../../bin/find $root/usr/bin/find |
|
|
|
INSTALL_WRAPPER_FILTER="" ln -sfv ../../bin/xargs $root/usr/bin/xargs |
|
|
|
rmdir $root/usr/var || true |
|
|
|
} |
|
|
|
|
|
|
|
var_append INSTALL_WRAPPER_FILTER "|" \ |
|
|
|
'sed -e "s,usr/bin/find,bin/find,"' |
|
|
|
"sed -e 's,usr/bin/find,bin/find,' -e 's,usr/bin/xargs,bin/xargs,'" |
|
|
|
|
|
|
|
# INSTALL_WRAPPER_FILTER needs to be empty to not filter the symlink ... |
|
|
|
hook_add postmake 3 "INSTALL_WRAPPER_FILTER="" ln -sfv ../../bin/find \ |
|
|
|
$root/usr/bin/find ; \ |
|
|
|
rmdir $root/usr/var || true" |
|
|
|
hook_add postmake 3 "fu_pm" |
|
|
|
|
|
|
|
export CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" |
|
|
|
export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64" |
|
|
|