aboutsummaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
Diffstat (limited to 'Rules')
-rw-r--r--Rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rules b/Rules
index 956a2eb62e..464495e842 100644
--- a/Rules
+++ b/Rules
@@ -74,7 +74,8 @@ endef
$(common-objpfx)dummy.c:
rm -f $@
- echo 'void __dummy__ (void) { }' > $@
+ (echo 'extern void __dummy__ (void);'; \
+ echo 'void __dummy__ (void) { }') > $@
common-generated += dummy.o dummy.c
# This makes all the auxiliary and test programs.