summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-04 20:21:21 +0000
committerRoland McGrath <roland@gnu.org>1995-10-04 20:21:21 +0000
commit096bb11e5848b06642a42a747c9c1b3d14b5df5f (patch)
tree27b910c71c2b03d2ef84fe3186bfc86c3af6b76b
parent64f3983f673c64825a5d97d7cdd3f86ed9214a7a (diff)
(%_pic.o: %.c): Use $(COMPILE.c) instead of its contents. Pass -DPIC.
(%_pic.o: %.S): New rule.
-rw-r--r--Makeconf4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index fb79f927..038f6310 100644
--- a/Makeconf
+++ b/Makeconf
@@ -216,8 +216,10 @@ relink:
# Default rule to build PIC object files.
%_pic.o: %.c
- $(CC) -c $(CPPFLAGS) $(CFLAGS) -fPIC $< -o $@
+ $(COMPILE.c) $< -DPIC -fPIC -o $@
+%_pic.o: %.S
+ $(COMPILE.S) $< -DPIC -o $@
# How to build RPC stubs