aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2018-03-15 12:08:02 -0700
committerAndrew Waterman <andrew@sifive.com>2018-03-15 12:11:07 -0700
commit06a9e345f526d45c12ec79c5c01af0331b0c1757 (patch)
tree86112234f0402ec20949b6b83f5ab1d82ae7dd4a
parent2bbd8e1a1bccae13ec87882baf423abfc6ef76fd (diff)
downloadriscv-pk-06a9e345f526d45c12ec79c5c01af0331b0c1757.zip
riscv-pk-06a9e345f526d45c12ec79c5c01af0331b0c1757.tar.gz
riscv-pk-06a9e345f526d45c12ec79c5c01af0331b0c1757.tar.bz2
Don't link build-id string
Closes #88
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index d7d3380..c0221d7 100755
--- a/configure
+++ b/configure
@@ -4095,6 +4095,8 @@ case "${BUILD_32BIT}" in
;;
esac
+LDFLAGS="$LDFLAGS -Wl,--build-id=none"
+
# Check whether --enable-print-device-tree was given.
if test "${enable_print_device_tree+set}" = set; then :
enableval=$enable_print_device_tree;
diff --git a/configure.ac b/configure.ac
index 4cf9b61..7ab8a88 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,8 @@ case "${BUILD_32BIT}" in
;;
esac
+LDFLAGS="$LDFLAGS -Wl,--build-id=none"
+
AC_ARG_ENABLE([print-device-tree], AS_HELP_STRING([--enable-print-device-tree], [Print DTS when booting]))
AS_IF([test "x$enable_print_device_tree" == "xyes"], [
AC_DEFINE([PK_PRINT_DEVICE_TREE],,[Define if the DTS is to be displayed])