mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +00:00
ldso: avoid 'dd' output in build log
This patch is a follow-up commit for "ld: load dynamic linker at static address on Linux". It suppresses the stderr output of 'dd' when marking the ELF binary as executable. Issue #3479
This commit is contained in:
parent
4c14af4d8a
commit
a98f78afd9
@ -38,12 +38,14 @@ LD_OPT += -T$(DIR)/linux-32.ld
|
||||
endif
|
||||
|
||||
#
|
||||
# set dynamic linker ELF type to executable
|
||||
# Set dynamic linker ELF type to executable
|
||||
#
|
||||
ifeq ($(called_from_lib_mk),yes)
|
||||
$(LIB).lib.so.stripped: postprocess.tag
|
||||
postprocess.tag: $(LIB).lib.so
|
||||
$(VERBOSE)printf "\x02" | dd of=$(LIB).lib.so bs=1 seek=16 count=1 conv=notrunc
|
||||
$(VERBOSE)printf "\x02" |\
|
||||
dd of=$(LIB).lib.so bs=1 seek=16 count=1 conv=notrunc \
|
||||
2> /dev/null
|
||||
endif
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user