diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-09-02 18:06:35 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-15 23:02:13 +0200 |
commit | 094fd1d01de46a61bbc59343841f762817b9cc81 (patch) | |
tree | 2d252663d3cb70a3c942da123a4b6030e4ad0104 /package/gcc | |
parent | df9bbb779f37ef55136aeb838068cb2be9115b14 (diff) | |
download | buildroot-094fd1d01de46a61bbc59343841f762817b9cc81.tar.gz buildroot-094fd1d01de46a61bbc59343841f762817b9cc81.zip |
gcc: force symlink creation
The HOST_GCC_CONFIGURE_SYMLINK creates a symbolic link
$(@D)/build/configure -> $(@D)/configure for each build step of
gcc. However, it was only using 'ln -s' and not 'ln -sf', which was
causing problems when doing 'make host-gcc-final-reconfigure' for
example, because the configure commands (including this macro) are
being re-executed, but the symbolic link already exists.
Changing this symbolic link creation to 'ln -sf' fixes this problem.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/gcc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 157357cd78..5636c6f255 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -76,7 +76,7 @@ endef define HOST_GCC_CONFIGURE_SYMLINK mkdir -p $(@D)/build - ln -s ../configure $(@D)/build/configure + ln -sf ../configure $(@D)/build/configure endef # |