We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bffcfb7 commit 30181f2Copy full SHA for 30181f2
configure.ac
@@ -573,16 +573,15 @@ then
573
AM_CFLAGS="$AM_CFLAGS -ffile-prefix-map=\$(abs_top_srcdir)/= -ffile-prefix-map=\$(top_srcdir)/="
574
fi
575
576
- # opportunistically use linker option --build-id=none
577
-
578
- if "$CC" -Wl,--build-id=none -x c - -o /dev/null >/dev/null 2>&1 <<' EOF'
+ # opportunistically force linker option --build-id=sha1 (usually the default)
+ if "$CC" -Wl,--build-id=sha1 -x c - -o /dev/null >/dev/null 2>&1 <<' EOF'
579
#include <stdlib.h>
580
int main(int argc, char **argv) {
581
(void)argc; (void)argv; return 0;
582
}
583
EOF
584
then
585
- AM_LDFLAGS="$AM_LDFLAGS -Wl,--build-id=none"
+ AM_LDFLAGS="$AM_LDFLAGS -Wl,--build-id=sha1"
586
587
588
0 commit comments