summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-05-18 16:06:12 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-05-18 16:06:12 +0000
commit4c4a05121d9d7e6cae0ee6b2e63da40d3839481b (patch)
tree38e82d52fd39a70e855df6b51b42fe0edb9da9bc /arch
parentb8ba4934dce71feb53396b3d2b2cb6ffdfd4cb2f (diff)
Less intrusive workaround for the gas ``-P'' bug.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips64/kernel/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips64/kernel/Makefile b/arch/mips64/kernel/Makefile
index e1edfc6a7..16ba05900 100644
--- a/arch/mips64/kernel/Makefile
+++ b/arch/mips64/kernel/Makefile
@@ -7,7 +7,7 @@
#
.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+ $(CC) $(CFLAGS) $(CFLAGS_$@) -c $< -o $*.o
all: kernel.o head.o init_task.o
@@ -29,6 +29,9 @@ ifdef CONFIG_SMP
O_OBJS += smp.o
endif
+CFLAGS_r4k_genex.o := -P
+CFLAGS_r4k_tlb_glue.o := -P
+
clean:
include $(TOPDIR)/Rules.make