diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2021-01-05 18:01:19 +0000 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2021-01-05 18:01:19 +0000 |
commit | b91af98dada5a33215d87325a651f3e836c02ebd (patch) | |
tree | ccec63ef3acfba1b655602a88a512d2cb81b555b /reproduce/software/make | |
parent | a1a966a598eb3693463aa5b0153f37ba22cfee6d (diff) |
Configuration: GNU Binutils linking bug on some systems fixed
Until now, when building GNU Binutils on GNU Linux operating systems, we
would simply put a link to the host's core C library components (the
'*crt*' files). However, the symbolic link wasn't "forced"! So if it
already existed in the build directory, it would crash.
With this commit a '-f' option has been added to the 'ln' command and this
fixed the problem.
This bug was reported by Zahra Sharbaf.
Diffstat (limited to 'reproduce/software/make')
-rw-r--r-- | reproduce/software/make/basic.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reproduce/software/make/basic.mk b/reproduce/software/make/basic.mk index 2a28e76..58ebdb2 100644 --- a/reproduce/software/make/basic.mk +++ b/reproduce/software/make/basic.mk @@ -1274,7 +1274,7 @@ $(ibidir)/binutils-$(binutils-version): \ if ! [ x"$(sys_library_path)" = x ]; then for f in $(sys_library_path)/*crt*.o; do b=$$($(ibdir)/basename $$f) - ln -s $$f $(ildir)/$$b + ln -sf $$f $(ildir)/$$b done fi |