summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/no-undefined-symbols.sh
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2021-11-01 10:36:12 +0100
committerJan Janssen <medhefgo@web.de>2021-11-04 18:54:31 +0100
commitf8a738bbc059071a7f218fd787ff6096fca90b82 (patch)
treeb1543f962101677aea15f027c460421e4bd60751 /src/boot/efi/no-undefined-symbols.sh
parentsd-stub: Fix possible memory leak (diff)
downloadsystemd-f8a738bbc059071a7f218fd787ff6096fca90b82.tar.xz
systemd-f8a738bbc059071a7f218fd787ff6096fca90b82.zip
sd-boot: Add some link flags
These flags are used by gnu-efi. Adding --no-undefined even allows us to drop the no-undefined-symbols.sh test in favor of immediate compile time errors.
Diffstat (limited to '')
-rwxr-xr-xsrc/boot/efi/no-undefined-symbols.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/boot/efi/no-undefined-symbols.sh b/src/boot/efi/no-undefined-symbols.sh
deleted file mode 100755
index 8bdb16accf..0000000000
--- a/src/boot/efi/no-undefined-symbols.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-# SPDX-License-Identifier: LGPL-2.1-or-later
-set -eu
-set -o pipefail
-
-if nm -D -u "${1:?}" | grep ' U '; then
- echo "Undefined symbols detected!"
- exit 1
-fi