summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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