patch-2.4.19 linux-2.4.19/arch/sparc64/solaris/Makefile

Next file: linux-2.4.19/arch/sparc64/solaris/ioctl.c
Previous file: linux-2.4.19/arch/sparc64/prom/misc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/sparc64/solaris/Makefile linux-2.4.19/arch/sparc64/solaris/Makefile
@@ -7,16 +7,13 @@
 #
 # Note 2! The CFLAGS definition is now in the main makefile...
 
+USE_STANDARD_AS_RULE := true
+EXTRA_AFLAGS := -ansi
+
 ifeq ($(CONFIG_SOLARIS_EMUL),m)
-CPPFLAGS = $(MODFLAGS)
+  EXTRA_AFLAGS += $(MODFLAGS)
 endif
 
-.S.s:
-	$(CPP) $(AFLAGS) $(CPPFLAGS) -ansi $< -o $*.s
-
-.S.o:
-	$(CC) $(AFLAGS) $(CPPFLAGS) -ansi -c $< -o $*.o
-
 list-multi := solaris.o
 
 solaris-objs := entry64.o fs.o misc.o signal.o systbl.o socket.o \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)