summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 094706bff2..9d0a9faa58 100644
--- a/Makerules
+++ b/Makerules
@@ -582,6 +582,13 @@ touch $@
 endef
 O%-lib = $(..)$(patsubst %,$(libtype$*),c)
 
+ifndef static-only-routines
+subdir_lib: $(objpfx)stamp.oS
+$(objpfx)stamp.oS:
+	$(make-target-directory)
+	rm -f $@; > $@
+endif
+
 endif
 
 # Rules to update the $(ar-symtab-name) member with ranlib,