aboutsummaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
Diffstat (limited to 'Rules')
-rw-r--r--Rules10
1 files changed, 8 insertions, 2 deletions
diff --git a/Rules b/Rules
index f50abd1..90a518f 100644
--- a/Rules
+++ b/Rules
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -71,7 +71,6 @@ define make-dummy-lib
$(AR) cr$(verbose) $@ $<
endef
-$(common-objpfx)dummy.o: $(common-objpfx)dummy.c; $(compile-command.c)
$(common-objpfx)dummy.c:
rm -f $@
echo 'void __dummy__ (void) { }' > $@
@@ -162,6 +161,13 @@ endef
object-suffixes-left := $(object-suffixes)
include $(o-iterator)
+define o-iterator-doit
+$(common-objpfx)dummy$o: $(common-objpfx)dummy.c $(before-compile);
+ $$(compile-command.c)
+endef
+object-suffixes-left := $(object-suffixes)
+include $(o-iterator)
+
ifndef libc.so-version
# Undefine this because it can't work when we libc.so is unversioned.
static-only-routines =