summaryrefslogtreecommitdiff
path: root/makefiles/Makefile.top
diff options
context:
space:
mode:
Diffstat (limited to 'makefiles/Makefile.top')
-rw-r--r--makefiles/Makefile.top8
1 files changed, 4 insertions, 4 deletions
diff --git a/makefiles/Makefile.top b/makefiles/Makefile.top
index a9e0213..e85312d 100644
--- a/makefiles/Makefile.top
+++ b/makefiles/Makefile.top
@@ -208,8 +208,8 @@ ifeq ($(COMPONENT_TYPE),lib-shared)
POST_TARGETS := __postshared $(POST_TARGETS)
__postshared:
- $(Q)$(LN) $(LNFLAGS) -fs $(notdir $(OUTPUT)) $(BUILDDIR)/$(SONAME)
- $(Q)$(LN) $(LNFLAGS) -fs $(notdir $(OUTPUT)) $(BUILDDIR)/$(SHAREDLIBNAME)
+ $(Q)$(LN) $(LNFLAGS) -f -s $(notdir $(OUTPUT)) $(BUILDDIR)/$(SONAME)
+ $(Q)$(LN) $(LNFLAGS) -f -s $(notdir $(OUTPUT)) $(BUILDDIR)/$(SHAREDLIBNAME)
endif
# Default target
@@ -287,8 +287,8 @@ endef
# TODO: Is this scheme portable?
define install_shared_lib
$(INSTALL) $(INSTALLFLAGS) -m 755 $1 $2/$(notdir $1)
- $(LN) $(LNFLAGS) -fs $(notdir $1) $2/$(SONAME)
- $(LN) $(LNFLAGS) -fs $(notdir $1) $2/$(SHAREDLIBNAME)
+ $(LN) $(LNFLAGS) -f -s $(notdir $1) $2/$(SONAME)
+ $(LN) $(LNFLAGS) -f -s $(notdir $1) $2/$(SHAREDLIBNAME)
endef
# Install a file ($1) to the specified location ($2)