diff mbox

Fix building interix targets

Message ID 560AC0BE.9080802@redhat.com
State New
Headers show

Commit Message

Jeff Law Sept. 29, 2015, 4:47 p.m. UTC
I'm resisting the temptation to declare interix dead (it's been tried 
before).  I'm guessing it hasn't built since early 2012.  But the fix is 
trivial enough and it's not like interix needs lots of care and maintenance.

Tested by building the interix targets in config-list.mk.

Installed on the trunk.

Jeff
commit 2cdebba6f51af63ad820568cbd439f296e7c4d82
Author: Jeff Law <law@tor.usersys.redhat.com>
Date:   Tue Sep 29 11:58:51 2015 -0400

    [PATCH] Fix building interix targets
    
    	* config/i386/t-interix (winnt-stubs.o): Fix compilation rule.
diff mbox

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 87de440..68149c4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@ 
 2015-09-29  Jeff Law  <law@redhat.com>
 
+	* config/i386/t-interix (winnt-stubs.o): Fix compilation rule.
+
 	* config/sh/sh.c (gen_shl_and): Fix undefined left shift
 	behaviour.
 	(gen_shl_sext): Likewise.
diff --git a/gcc/config/i386/t-interix b/gcc/config/i386/t-interix
index db35dbe..dd59b85 100644
--- a/gcc/config/i386/t-interix
+++ b/gcc/config/i386/t-interix
@@ -25,6 +25,6 @@  winnt.o: $(srcdir)/config/i386/winnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
 winnt-stubs.o: $(srcdir)/config/i386/winnt-stubs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
   $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \
   $(TM_P_H) toplev.h $(HASHTAB_H) $(GGC_H)
-	$(COMPILER) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
 	$(srcdir)/config/i386/winnt-stubs.c