Commit Graph

1 Commits

Author SHA1 Message Date
Henrik Grimler
abb053274b
cpio: fix build with ndk-r23
Without -fcommon we get an error due to program_name being used in two
source files:

ld: error: duplicate symbol: program_name
>>> defined at global.c
>>>            global.o:(program_name)
>>> defined at progname.c
>>>            progname.o:(.bss+0x0) in archive ../gnu/libgnu.a
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
2021-11-17 21:09:56 +01:00