This website requires JavaScript.
Explore
Help
Sign In
picnoir
/
Systemd
Watch
1
Star
0
Fork
You've already forked Systemd
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
7629744a3d
Systemd
/
src
/
boot
/
efi
/
no-undefined-symbols.sh
8 lines
116 B
Bash
Raw
Normal View
History
Unescape
Escape
separate flags from shebang
2017-12-24 07:53:20 +01:00
#!/bin/sh
set
-eu
meson: add support for building efi modules This is a very straightforward conversion of the rules in Makefile.am. Generated objects (on arm64) are identical. The only difference in executed commands is that automake uses ld -m elf_x86_64, without us specifying the -m option anywhere. I suspect that using the default for the given linker should be OK, so it's fine to just skip it.
2017-04-12 21:05:55 +02:00
if
nm -D -u
"
$1
"
|
grep
' U '
;
then
meson: also indent scripts with 8 spaces
2017-04-25 01:40:02 +02:00
echo
"Undefined symbols detected!"
exit
1
meson: add support for building efi modules This is a very straightforward conversion of the rules in Makefile.am. Generated objects (on arm64) are identical. The only difference in executed commands is that automake uses ld -m elf_x86_64, without us specifying the -m option anywhere. I suspect that using the default for the given linker should be OK, so it's fine to just skip it.
2017-04-12 21:05:55 +02:00
fi