mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
import-lx_emul_common.inc: don't use 'nm -U'
The option is used during the generation of initcall_table.c. However, it happens to strip the first argument following the option. The long option --defined-only works as expected. Issue #5155
This commit is contained in:
parent
d813a12f20
commit
891f933863
@ -262,7 +262,7 @@ endef
|
||||
WAIT_FOR_OBJECTS = $(addsuffix .o,$(basename $(filter-out initcall_table.c,$(SRC_C))))
|
||||
|
||||
# retrieve 'initptr_*' using nm from object files
|
||||
INITCALLS = $(sort $(shell $(NM) -U $(WAIT_FOR_OBJECTS) |\
|
||||
INITCALLS = $(sort $(shell $(NM) --defined-only $(WAIT_FOR_OBJECTS) |\
|
||||
grep "__initptr" |\
|
||||
awk '{print $$3}'))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user